|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.main.A_CmsAuthorizationHandler
public abstract class A_CmsAuthorizationHandler
Abstract class to grant the needed access to the session manager.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.opencms.security.I_CmsAuthorizationHandler |
---|
I_CmsAuthorizationHandler.I_PrivilegedLoginAction |
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
LOG
The static log object for this class. |
protected java.util.Map |
m_parameters
Additional parameters. |
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. |
void |
setParameters(java.util.Map parameters)
Sets parameters which can be configured additionally for an authorization handler. |
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 |
---|
getLoginFormURL, initCmsObject, initCmsObject, initCmsObject, requestAuthorization |
Field Detail |
---|
protected static final org.apache.commons.logging.Log LOG
protected java.util.Map m_parameters
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 wrongpublic void setParameters(java.util.Map parameters)
I_CmsAuthorizationHandler
setParameters
in interface I_CmsAuthorizationHandler
parameters
- the map of parametersI_CmsAuthorizationHandler.setParameters(java.util.Map)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |