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 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.