public abstract class A_CmsAuthorizationHandler extends java.lang.Object implements I_CmsAuthorizationHandler
I_CmsAuthorizationHandler.I_PrivilegedLoginAction| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.apache.commons.logging.Log |
LOG
The static log object for this class.
|
protected java.util.Map<java.lang.String,java.lang.String> |
m_parameters
Additional parameters.
|
| 构造器和说明 |
|---|
A_CmsAuthorizationHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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<java.lang.String,java.lang.String> parameters)
Sets parameters which can be configured additionally for an authorization handler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoginFormURL, initCmsObject, initCmsObject, initCmsObject, requestAuthorizationprotected static final org.apache.commons.logging.Log LOG
protected java.util.Map<java.lang.String,java.lang.String> m_parameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
I_CmsAuthorizationHandlersetParameters 在接口中 I_CmsAuthorizationHandlerparameters - the map of parametersI_CmsAuthorizationHandler.setParameters(java.util.Map)protected CmsObject initCmsObjectFromSession(javax.servlet.http.HttpServletRequest request) throws CmsException
If no session data is found, null is returned.
request - the requestCmsException - if something goes wrongprotected CmsObject registerSession(javax.servlet.http.HttpServletRequest request, CmsObject cms) throws CmsException
request - the current requestcms - the cms object to registerCmsException - if something goes wrong