Class SimpleRedirectSessionInformationExpiredStrategy
java.lang.Object
org.springframework.security.web.session.SimpleRedirectSessionInformationExpiredStrategy
- All Implemented Interfaces:
SessionInformationExpiredStrategy
public final class SimpleRedirectSessionInformationExpiredStrategy
extends Object
implements SessionInformationExpiredStrategy
Performs a redirect to a fixed URL when an expired session is detected by the
ConcurrentSessionFilter
.- Since:
- 4.2.0
-
Constructor Summary
ConstructorDescriptionSimpleRedirectSessionInformationExpiredStrategy
(String invalidSessionUrl) SimpleRedirectSessionInformationExpiredStrategy
(String invalidSessionUrl, RedirectStrategy redirectStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Constructor Details
-
SimpleRedirectSessionInformationExpiredStrategy
-
SimpleRedirectSessionInformationExpiredStrategy
public SimpleRedirectSessionInformationExpiredStrategy(String invalidSessionUrl, RedirectStrategy redirectStrategy)
-
-
Method Details
-
onExpiredSessionDetected
- Specified by:
onExpiredSessionDetected
in interfaceSessionInformationExpiredStrategy
- Throws:
IOException
-