Class DefaultSessionCloseStrategy
java.lang.Object
de.hybris.platform.servicelayer.web.DefaultSessionCloseStrategy
- All Implemented Interfaces:
SessionCloseStrategy
- Direct Known Subclasses:
HacSessionCloseStrategy
Default strategy that sets max inactive interval for each http session based on hybris properties. It first searches for
[ext_name].session.timeout property and falls back to default.session.timeout property if extension specific property was not
set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcloseSessionInHttpSession(javax.servlet.http.HttpSession session) voidremoveJaloSessionFromHttpSession(javax.servlet.http.HttpSession session) voidsetTimeoutOnHttpSessionCreation(javax.servlet.http.HttpSession httpSession)
-
Field Details
-
DEFAULT_SESSION_TIMEOUT
public static final int DEFAULT_SESSION_TIMEOUT- See Also:
-
-
Constructor Details
-
DefaultSessionCloseStrategy
public DefaultSessionCloseStrategy()
-
-
Method Details
-
closeSessionInHttpSession
public void closeSessionInHttpSession(javax.servlet.http.HttpSession session) - Specified by:
closeSessionInHttpSessionin interfaceSessionCloseStrategy
-
setTimeoutOnHttpSessionCreation
public void setTimeoutOnHttpSessionCreation(javax.servlet.http.HttpSession httpSession) - Specified by:
setTimeoutOnHttpSessionCreationin interfaceSessionCloseStrategy
-
closeJaloSession
-
removeJaloSessionFromHttpSession
public void removeJaloSessionFromHttpSession(javax.servlet.http.HttpSession session)
-