Class DefaultStaleSessionDetector
java.lang.Object
de.hybris.platform.servicelayer.web.session.stale.impl.DefaultStaleSessionDetector
- All Implemented Interfaces:
PasswordChangeListener,StaleSessionDetector
public class DefaultStaleSessionDetector
extends Object
implements StaleSessionDetector, PasswordChangeListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.servicelayer.web.session.stale.StaleSessionDetector
StaleSessionDetector.Detection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginDetection(javax.servlet.http.HttpServletRequest request) Provides aStaleSessionDetector.Detectionobject for theHttpServletRequest.protected StaleSessionDetector.DetectioncreateDetection(javax.servlet.http.HttpServletRequest request) protected SessionContextcreateSessionContext(javax.servlet.http.HttpServletRequest request) voidInvoked on password change.
-
Constructor Details
-
DefaultStaleSessionDetector
public DefaultStaleSessionDetector()
-
-
Method Details
-
beginDetection
Description copied from interface:StaleSessionDetectorProvides aStaleSessionDetector.Detectionobject for theHttpServletRequest. Since theStaleSessionDetector.DetectionextendsAutoCloseableit is advised to use this method in the try with resources block.- Specified by:
beginDetectionin interfaceStaleSessionDetector- Parameters:
request- request to check- Returns:
- a
StaleSessionDetector.Detectionimplementation
-
passwordChanged
Description copied from interface:PasswordChangeListenerInvoked on password change.- Specified by:
passwordChangedin interfacePasswordChangeListener- Parameters:
event-PasswordChangeEventcontaining User details
-
createDetection
protected StaleSessionDetector.Detection createDetection(javax.servlet.http.HttpServletRequest request) -
createSessionContext
-