public interface RejectionHandler
SecurityFilter
.Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
reject(io.micronaut.http.HttpRequest<?> request,
boolean forbidden) |
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> reject(io.micronaut.http.HttpRequest<?> request, boolean forbidden)
request
- HttpRequest
being processedforbidden
- if true indicates that although the user was authenticated they did not have the necessary access privileges.