Package org.opencms.security
Interface I_CmsAuthorizationHandler.I_PrivilegedLoginAction
- Enclosing interface:
- I_CmsAuthorizationHandler
public static interface I_CmsAuthorizationHandler.I_PrivilegedLoginAction
Class providing the privileged login action.
-
Method Summary
Modifier and TypeMethodDescriptionPerforms a privileged login action and returns a cms object initialized for the principal.Returns the cms object.void
setCmsObject
(CmsObject cms) Used to provide an initial cms object.
-
Method Details
-
setCmsObject
Used to provide an initial cms object.- Parameters:
cms
- an initial cms object
-
getCmsObject
Returns the cms object.- Returns:
- the cms object
-
doLogin
CmsObject doLogin(javax.servlet.http.HttpServletRequest request, String principal) throws CmsException Performs a privileged login action and returns a cms object initialized for the principal.- Parameters:
request
- the current requestprincipal
- the principal to login- Returns:
- a cms object initialized for the principal
- Throws:
CmsException
- if the login action fails
-