|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.main.A_CmsAuthorizationHandler
Abstract class to grant the needed access to the session manager.
Constructor Summary | |
A_CmsAuthorizationHandler()
|
Method Summary | |
protected CmsObject |
initCmsObjectFromSession(javax.servlet.http.HttpServletRequest request)
Initializes a new cms object from the session data of the request. |
protected CmsObject |
registerSession(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Registers the current session with OpenCms. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opencms.security.I_CmsAuthorizationHandler |
initCmsObject, initCmsObject |
Constructor Detail |
public A_CmsAuthorizationHandler()
Method Detail |
protected CmsObject initCmsObjectFromSession(javax.servlet.http.HttpServletRequest request) throws CmsException
If no session data is found, null
is returned.
request
- the request
CmsException
- if something goes wrongprotected CmsObject registerSession(javax.servlet.http.HttpServletRequest request, CmsObject cms) throws CmsException
request
- the current requestcms
- the cms object to register
CmsException
- if something goes wrong
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |