Class DelegatingReactiveAuthenticationManager
- java.lang.Object
 - 
- org.springframework.security.authentication.DelegatingReactiveAuthenticationManager
 
 
- 
- All Implemented Interfaces:
 ReactiveAuthenticationManager
public class DelegatingReactiveAuthenticationManager extends java.lang.Object implements ReactiveAuthenticationManager
AReactiveAuthenticationManagerthat delegates to otherReactiveAuthenticationManagerinstances using the result from the first non empty result.- Since:
 - 5.1
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DelegatingReactiveAuthenticationManager(java.util.List<ReactiveAuthenticationManager> entryPoints)DelegatingReactiveAuthenticationManager(ReactiveAuthenticationManager... entryPoints) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>authenticate(Authentication authentication)Attempts to authenticate the providedAuthentication 
 - 
 
- 
- 
Constructor Detail
- 
DelegatingReactiveAuthenticationManager
public DelegatingReactiveAuthenticationManager(ReactiveAuthenticationManager... entryPoints)
 
- 
DelegatingReactiveAuthenticationManager
public DelegatingReactiveAuthenticationManager(java.util.List<ReactiveAuthenticationManager> entryPoints)
 
 - 
 
- 
Method Detail
- 
authenticate
public reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication)
Description copied from interface:ReactiveAuthenticationManagerAttempts to authenticate the providedAuthentication- Specified by:
 authenticatein interfaceReactiveAuthenticationManager- Parameters:
 authentication- theAuthenticationto test- Returns:
 - if authentication is successful an 
Authenticationis returned. If authentication cannot be determined, an empty Mono is returned. If authentication fails, a Mono error is returned. 
 
 - 
 
 -