Class ReactivePreAuthenticatedAuthenticationManager
- java.lang.Object
-
- org.springframework.security.web.server.authentication.ReactivePreAuthenticatedAuthenticationManager
-
- All Implemented Interfaces:
org.springframework.security.authentication.ReactiveAuthenticationManager
public class ReactivePreAuthenticatedAuthenticationManager extends java.lang.Object implements org.springframework.security.authentication.ReactiveAuthenticationManager
Reactive version ofPreAuthenticatedAuthenticationProvider
This manager receives aPreAuthenticatedAuthenticationToken
, checks that associated account is not disabled, expired, or blocked, and returns new authenticatedPreAuthenticatedAuthenticationToken
. If noUserDetailsChecker
is provided, a defaultAccountStatusUserDetailsChecker
will be created.- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description ReactivePreAuthenticatedAuthenticationManager(org.springframework.security.core.userdetails.ReactiveUserDetailsService userDetailsService)
ReactivePreAuthenticatedAuthenticationManager(org.springframework.security.core.userdetails.ReactiveUserDetailsService userDetailsService, org.springframework.security.core.userdetails.UserDetailsChecker userDetailsChecker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.security.core.Authentication>
authenticate(org.springframework.security.core.Authentication authentication)
-
-
-
Constructor Detail
-
ReactivePreAuthenticatedAuthenticationManager
public ReactivePreAuthenticatedAuthenticationManager(org.springframework.security.core.userdetails.ReactiveUserDetailsService userDetailsService)
-
ReactivePreAuthenticatedAuthenticationManager
public ReactivePreAuthenticatedAuthenticationManager(org.springframework.security.core.userdetails.ReactiveUserDetailsService userDetailsService, org.springframework.security.core.userdetails.UserDetailsChecker userDetailsChecker)
-
-
Method Detail
-
authenticate
public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> authenticate(org.springframework.security.core.Authentication authentication)
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.ReactiveAuthenticationManager
-
-