@Singleton
public class SecurityFilter
extends java.lang.Object
implements io.micronaut.http.filter.HttpServerFilter
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
doFilter(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.filter.ServerFilterChain chain)
Checks the validity of a request's Authorization header and continue processing the filter chain if no error occurs.
|
public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> doFilter(io.micronaut.http.HttpRequest<?> request,
io.micronaut.http.filter.ServerFilterChain chain)
doFilter in interface io.micronaut.http.filter.HttpServerFilterrequest - the request that must be validated against the security checkschain - next filters to process if no error occurs