|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines general authorization methods.
One of the application scenarios for this interface is a personalized SSO implementation.
Method Summary | |
CmsObject |
initCmsObject(javax.servlet.http.HttpServletRequest request)
Creates a new cms object from the given request object. |
CmsObject |
initCmsObject(javax.servlet.http.HttpServletRequest request,
java.lang.String userName,
java.lang.String pwd)
Authenticates the current request with additional user information. |
Method Detail |
public CmsObject initCmsObject(javax.servlet.http.HttpServletRequest request)
This method is called by OpenCms every time a resource is requested and the session can not automatically be authenticated.
request
- the http request to authenticate
public CmsObject initCmsObject(javax.servlet.http.HttpServletRequest request, java.lang.String userName, java.lang.String pwd) throws CmsException
You have to call this method by your own.
request
- the http request to authenticateuserName
- the user name to authenticatepwd
- the user password to authenticate with
CmsException
- if something goes wrong
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |