Package io.micronaut.security.handlers
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getForbiddenRedirectUri(io.micronaut.http.HttpRequest<?> request)
-
-
-
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.
-
-