public interface ISessionHandler extends IHandler
IComponent
for the ISessionManager
Modifier and Type | Field and Description |
---|---|
static int |
GUEST_SESSION_RESPONSE_COMPLETE
Signals the Session Manager to use a guest session
|
static String |
INITIALIZE_KEY
There has to be one
ISessionHandler that is the 'initialize' handler |
static String |
INVALIDATE_KEY
There may be one
ISessionHandler that is the 'invalidate' handler |
static String |
LOGINSCRIPT_KEY
There may be one
ISessionHandler that is the 'login' handler |
static int |
SESSION_RESPONSE_COMPLETE
Signals the Session Manager that the login process is complete
|
static int |
SESSION_RESPONSE_HANDLE_SYSADMIN
Signals the Session Manager to use the sysadmin handler
|
static int |
SESSION_RESPONSE_INITIALIZE
Signals the Session Manager to call the initialize method
|
static int |
SESSION_RESPONSE_LOGINSCRIPT
Signals the Session Manager to process the login script
|
static int |
SESSION_RESPONSE_UNKNOWN
Default value for the current state of the login processing
|
static String |
SETSSO_KEY
There may be one
ISessionHandler that is the 'setSSO' handler |
static String |
VALIDATE_KEY
There has to be one
ISessionHandler that is the 'validate' handler |
Modifier and Type | Method and Description |
---|---|
int |
handle(HttpServletRequest request,
HttpServletResponse response)
Handles the particualr requirement depending on the
ISessionHandler . |
getConfigElem, getHandlerBean, getName, getPerfToken, initialize, postInitialize, shutdown
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init
static final String VALIDATE_KEY
ISessionHandler
that is the 'validate' handlerstatic final String INITIALIZE_KEY
ISessionHandler
that is the 'initialize' handlerstatic final String INVALIDATE_KEY
ISessionHandler
that is the 'invalidate' handlerstatic final String LOGINSCRIPT_KEY
ISessionHandler
that is the 'login' handlerstatic final String SETSSO_KEY
ISessionHandler
that is the 'setSSO' handlerstatic final int SESSION_RESPONSE_INITIALIZE
static final int SESSION_RESPONSE_LOGINSCRIPT
static final int SESSION_RESPONSE_COMPLETE
static final int GUEST_SESSION_RESPONSE_COMPLETE
static final int SESSION_RESPONSE_HANDLE_SYSADMIN
static final int SESSION_RESPONSE_UNKNOWN
int handle(HttpServletRequest request, HttpServletResponse response) throws PortalException
ISessionHandler
.
This will be either: validation, initialization or invalidation.request
- the current HttpServletRequestresponse
- the current HttpServletResponsePortalException