Class ReactivePreAuthenticatedAuthenticationManager
java.lang.Object
org.springframework.security.web.server.authentication.ReactivePreAuthenticatedAuthenticationManager
- All Implemented Interfaces:
- ReactiveAuthenticationManager
public class ReactivePreAuthenticatedAuthenticationManager
extends Object
implements ReactiveAuthenticationManager
Reactive version of
 
PreAuthenticatedAuthenticationProvider
 This manager receives a PreAuthenticatedAuthenticationToken, checks that
 associated account is not disabled, expired, or blocked, and returns new authenticated
 PreAuthenticatedAuthenticationToken.
 If no UserDetailsChecker is provided, a default
 AccountStatusUserDetailsChecker will be created.- Since:
- 5.2
- 
Constructor SummaryConstructorsConstructorDescriptionReactivePreAuthenticatedAuthenticationManager(ReactiveUserDetailsService userDetailsService) ReactivePreAuthenticatedAuthenticationManager(ReactiveUserDetailsService userDetailsService, UserDetailsChecker userDetailsChecker) 
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>authenticate(Authentication authentication) Attempts to authenticate the providedAuthentication
- 
Constructor Details- 
ReactivePreAuthenticatedAuthenticationManager
- 
ReactivePreAuthenticatedAuthenticationManagerpublic ReactivePreAuthenticatedAuthenticationManager(ReactiveUserDetailsService userDetailsService, UserDetailsChecker userDetailsChecker) 
 
- 
- 
Method Details- 
authenticateDescription copied from interface:ReactiveAuthenticationManagerAttempts to authenticate the providedAuthentication- Specified by:
- authenticatein interface- ReactiveAuthenticationManager
- Parameters:
- authentication- the- Authenticationto 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.
 
 
-