@FunctionalInterface
public interface ServerAuthenticationConverter
ServerWebExchange
to an Authentication
used for
authenticating with a provided ReactiveAuthenticationManager
.
If the result is Mono.empty()
, then it signals that no authentication attempt should be made.Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
convert(org.springframework.web.server.ServerWebExchange exchange)
Converts a
ServerWebExchange to an Authentication |
reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
ServerWebExchange
to an Authentication
exchange
- The ServerWebExchange
Mono
representing an Authentication