Class ObservationReactiveAuthenticationManager
java.lang.Object
org.springframework.security.authentication.ObservationReactiveAuthenticationManager
- All Implemented Interfaces:
 ReactiveAuthenticationManager
public class ObservationReactiveAuthenticationManager
extends Object
implements ReactiveAuthenticationManager
An 
ReactiveAuthenticationManager that observes the authentication- Since:
 - 6.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionObservationReactiveAuthenticationManager(io.micrometer.observation.ObservationRegistry registry, ReactiveAuthenticationManager delegate)  - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Authentication>authenticate(Authentication authentication) Attempts to authenticate the providedAuthenticationvoidsetObservationConvention(io.micrometer.observation.ObservationConvention<AuthenticationObservationContext> convention) Use the provided convention for reporting observation data 
- 
Constructor Details
- 
ObservationReactiveAuthenticationManager
public ObservationReactiveAuthenticationManager(io.micrometer.observation.ObservationRegistry registry, ReactiveAuthenticationManager delegate)  
 - 
 - 
Method Details
- 
authenticate
public reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication) throws AuthenticationException 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. - Throws:
 AuthenticationException
 - 
setObservationConvention
public void setObservationConvention(io.micrometer.observation.ObservationConvention<AuthenticationObservationContext> convention) Use the provided convention for reporting observation data- Parameters:
 convention- The provided convention- Since:
 - 6.1
 
 
 -