Package io.micronaut.security.session
Interface SecuritySessionConfiguration
-
- All Superinterfaces:
io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
SecuritySessionConfigurationProperties
public interface SecuritySessionConfiguration extends io.micronaut.core.util.Toggleable
Defines Session-based Authentication configuration properties.- Since:
- 1.0
- Author:
- Sergio del Amo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getForbiddenTargetUrl()
java.lang.String
getLoginFailureTargetUrl()
java.lang.String
getLoginSuccessTargetUrl()
java.lang.String
getLogoutTargetUrl()
java.lang.String
getUnauthorizedTargetUrl()
boolean
isLegacyRejectionHandler()
-
-
-
Method Detail
-
getLoginSuccessTargetUrl
java.lang.String getLoginSuccessTargetUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a successful login.
-
getLogoutTargetUrl
java.lang.String getLogoutTargetUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after logout.
-
getLoginFailureTargetUrl
java.lang.String getLoginFailureTargetUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after a failed login.
-
getUnauthorizedTargetUrl
java.lang.String getUnauthorizedTargetUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after trying to access a secured route.
-
getForbiddenTargetUrl
java.lang.String getForbiddenTargetUrl()
- Returns:
- String to be parsed into a URI which represents where the user is redirected to after trying to access a secured route for which the does not have sufficient roles.
-
isLegacyRejectionHandler
boolean isLegacyRejectionHandler()
- Returns:
- If true the deprecated
SessionSecurityFilterOrderProvider
is loaded, instead of the newRedirectRejectionHandler
-
-