| java.lang.Object com.lutris.appserver.server.sessionContainerAdapter.ContainerAdapterSessionManager
All known Subclasses: com.lutris.appserver.server.sessionContainerAdapter.JmxContainerAdapterSessionManager, com.lutris.appserver.server.sessionContainerAdapter.TomcatContainerAdapterSessionManager,
ContainerAdapterSessionManager | public class ContainerAdapterSessionManager implements com.lutris.appserver.server.session.SessionManager,java.io.Serializable(Code) | |
Description:
Simple session manager to be used with servlet container capable of managing
their sessions. Uses HttpSession to keep the session data. The sessions are
completely managed by the session container. To use this class as a session
manager, enter it as a value of the SessionManager.Class in the config file
of the application - e.g.
SessionManager.Class =
com.lutris.appserver.server.sessionContainerAdapter.ContainerAdapterSessionManager
version: 1.0 |
CFG_ENCODE_FIRST_URL | final public static String CFG_ENCODE_FIRST_URL(Code) | | Url encoding for first page state (to force it or not)
CFG_ENCODE_URL_STATE must not be set to NEVER for this parameter to take
efect
|
CFG_ENCODE_URL_STATE | final public static String CFG_ENCODE_URL_STATE(Code) | | The name of the config variable for the url encoding state
|
SESSION | protected String SESSION(Code) | | Name of the session object in the HttpSession
|
defaultEncodeUrlState | protected static String defaultEncodeUrlState(Code) | | Indicates url encoding status. Assumes that
comms.response.writeHTML(HTMLDocument doc) is used to commit the response
to the client. The default is to Auto.
Never indicates urls are never encoded with session keys.
This indicates that session cookies have to be used or no session state
can be maintained.
Always indicates that urls are always encoded with session
keys. Session cookies are never used.
Auto indicates that session cookies will be if available.
If not, urls will automatically be encoded.
See Also: ContainerAdapterSessionManager.getEncodeUrlState |
defaultMaxSessionIdleTime | protected static int defaultMaxSessionIdleTime(Code) | | Default maximum session idle time, in seconds. A derived SessionManager
may override this value to use the default expiration logic or override
isSessionExpired to define custom expiration logic. A
value less-than or equal to zero disables idle checking. Default value is
30 minutes.
See Also: ContainerAdapterSessionManager.getMaxSessionIdleTime |
encodeFirstUrl | protected boolean encodeFirstUrl(Code) | | Url encoding for first page state (force it or not)
|
encodeUrlState | protected String encodeUrlState(Code) | | The url encoding state. Either Never
Always Auto .
|
getEmptySessionPath | public boolean getEmptySessionPath()(Code) | | Not used for container adapter session management scenario! Container
itself should take care about this.
Whether to use empty path for session cookies |
getEncodeFirstUrl | public boolean getEncodeFirstUrl()(Code) | | Returns the url encoding rule for the first application page
(true/false).
CFG_ENCODE_URL_STATE must not be set to NEVER for this parameter to take
efect
|
getEncodeUrlState | public String getEncodeUrlState()(Code) | | the value indicating the url encoding status |
maxSessionCount | public int maxSessionCount()(Code) | | Not implemented, this information is kept at the servlet container side
|
maxSessionCountDate | public Date maxSessionCountDate()(Code) | | Not implemented
|
shutdown | public void shutdown()(Code) | | NOP
|
|
|