Interface ForbiddenRejectionUriProvider

  • All Known Implementing Classes:
    SecuritySessionConfigurationProperties

    public interface ForbiddenRejectionUriProvider
    Provides a uri to redirect to when an authenticated user tries to access a resource for which he does not have the required authorization level.
    Since:
    1.1.0
    Author:
    Sergio del Amo
    • Method Detail

      • getForbiddenRedirectUri

        java.util.Optional<java.lang.String> getForbiddenRedirectUri​(io.micronaut.http.HttpRequest<?> request)
        Parameters:
        request - HttpRequest being processed
        Returns:
        A uri to redirect to when an authenticated user tries to access a resource for which he does not have the required authorization level.