Class UserDetailsRepositoryReactiveAuthenticationManager
- java.lang.Object
-
- org.springframework.security.authentication.AbstractUserDetailsReactiveAuthenticationManager
-
- org.springframework.security.authentication.UserDetailsRepositoryReactiveAuthenticationManager
-
- All Implemented Interfaces:
ReactiveAuthenticationManager
public class UserDetailsRepositoryReactiveAuthenticationManager extends AbstractUserDetailsReactiveAuthenticationManager
AReactiveAuthenticationManager
that uses aReactiveUserDetailsService
to validate the provided username and password.- Since:
- 5.0
-
-
Field Summary
-
Fields inherited from class org.springframework.security.authentication.AbstractUserDetailsReactiveAuthenticationManager
logger, messages
-
-
Constructor Summary
Constructors Constructor Description UserDetailsRepositoryReactiveAuthenticationManager(ReactiveUserDetailsService userDetailsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected reactor.core.publisher.Mono<UserDetails>
retrieveUser(java.lang.String username)
Allows subclasses to retrieve theUserDetails
from an implementation-specific location.-
Methods inherited from class org.springframework.security.authentication.AbstractUserDetailsReactiveAuthenticationManager
authenticate, setPasswordEncoder, setPostAuthenticationChecks, setScheduler, setUserDetailsPasswordService
-
-
-
-
Constructor Detail
-
UserDetailsRepositoryReactiveAuthenticationManager
public UserDetailsRepositoryReactiveAuthenticationManager(ReactiveUserDetailsService userDetailsService)
-
-
Method Detail
-
retrieveUser
protected reactor.core.publisher.Mono<UserDetails> retrieveUser(java.lang.String username)
Description copied from class:AbstractUserDetailsReactiveAuthenticationManager
Allows subclasses to retrieve theUserDetails
from an implementation-specific location.- Specified by:
retrieveUser
in classAbstractUserDetailsReactiveAuthenticationManager
- Parameters:
username
- The username to retrieve- Returns:
- the user information. If authentication fails, a Mono error is returned.
-
-