Interface ISessionHandler
- All Superinterfaces:
IComponent
,IHandler
,IInitializable
,ISystemHandler
- All Known Subinterfaces:
ISessionHook
The
IComponent
for the ISessionManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Signals the Session Manager to use a guest sessionstatic final String
There has to be oneISessionHandler
that is the 'initialize' handlerstatic final String
There may be oneISessionHandler
that is the 'invalidate' handlerstatic final String
There may be oneISessionHandler
that is the 'login' handlerstatic final int
Signals the Session Manager that the login process is completestatic final int
Signals the Session Manager to use the sysadmin handlerstatic final int
Signals the Session Manager to call the initialize methodstatic final int
Signals the Session Manager to process the login scriptstatic final int
Default value for the current state of the login processingstatic final String
There may be oneISessionHandler
that is the 'setSSO' handlerstatic final String
There has to be oneISessionHandler
that is the 'validate' handler -
Method Summary
Modifier and TypeMethodDescriptionint
handle
(HttpServletRequest request, HttpServletResponse response) Handles the particualr requirement depending on theISessionHandler
.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.framework.IHandler
getConfigElem, getHandlerBean, getName, getPerfToken, initialize, postInitialize, shutdown
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init
-
Field Details
-
VALIDATE_KEY
There has to be oneISessionHandler
that is the 'validate' handler- See Also:
-
INITIALIZE_KEY
There has to be oneISessionHandler
that is the 'initialize' handler- See Also:
-
INVALIDATE_KEY
There may be oneISessionHandler
that is the 'invalidate' handler- See Also:
-
LOGINSCRIPT_KEY
There may be oneISessionHandler
that is the 'login' handler- See Also:
-
SETSSO_KEY
There may be oneISessionHandler
that is the 'setSSO' handler- See Also:
-
SESSION_RESPONSE_INITIALIZE
static final int SESSION_RESPONSE_INITIALIZESignals the Session Manager to call the initialize method- See Also:
-
SESSION_RESPONSE_LOGINSCRIPT
static final int SESSION_RESPONSE_LOGINSCRIPTSignals the Session Manager to process the login script- See Also:
-
SESSION_RESPONSE_COMPLETE
static final int SESSION_RESPONSE_COMPLETESignals the Session Manager that the login process is complete- See Also:
-
GUEST_SESSION_RESPONSE_COMPLETE
static final int GUEST_SESSION_RESPONSE_COMPLETESignals the Session Manager to use a guest session- See Also:
-
SESSION_RESPONSE_HANDLE_SYSADMIN
static final int SESSION_RESPONSE_HANDLE_SYSADMINSignals the Session Manager to use the sysadmin handler- See Also:
-
SESSION_RESPONSE_UNKNOWN
static final int SESSION_RESPONSE_UNKNOWNDefault value for the current state of the login processing- See Also:
-
-
Method Details
-
handle
Handles the particualr requirement depending on theISessionHandler
. This will be either: validation, initialization or invalidation.- Parameters:
request
- the current HttpServletRequestresponse
- the current HttpServletResponse- Throws:
PortalException
-