public class DelegatingReactiveAuthenticationManager extends java.lang.Object implements ReactiveAuthenticationManager
ReactiveAuthenticationManager
that delegates to other
ReactiveAuthenticationManager
instances using the result from the first non
empty result.Constructor and Description |
---|
DelegatingReactiveAuthenticationManager(java.util.List<ReactiveAuthenticationManager> entryPoints) |
DelegatingReactiveAuthenticationManager(ReactiveAuthenticationManager... entryPoints) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
authenticate(Authentication authentication)
Attempts to authenticate the provided
Authentication |
public DelegatingReactiveAuthenticationManager(ReactiveAuthenticationManager... entryPoints)
public DelegatingReactiveAuthenticationManager(java.util.List<ReactiveAuthenticationManager> entryPoints)
public reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication)
ReactiveAuthenticationManager
Authentication
authenticate
in interface ReactiveAuthenticationManager
authentication
- the Authentication
to testAuthentication
is returned. If
authentication cannot be determined, an empty Mono is returned. If authentication
fails, a Mono error is returned.