public class UserDetailsRepositoryReactiveAuthenticationManager extends java.lang.Object implements ReactiveAuthenticationManager
Constructor and Description |
---|
UserDetailsRepositoryReactiveAuthenticationManager(ReactiveUserDetailsService userDetailsService) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Authentication> |
authenticate(Authentication authentication)
Attempts to authenticate the provided
Authentication |
void |
setPasswordEncoder(PasswordEncoder passwordEncoder) |
public UserDetailsRepositoryReactiveAuthenticationManager(ReactiveUserDetailsService userDetailsService)
public reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication)
ReactiveAuthenticationManager
Authentication
authenticate
in interface ReactiveAuthenticationManager
authentication
- the Authentication
to testAuthentication
is returned. If
authentication cannot be determined, an empty Mono is returned. If authentication
fails, a Mono error is returned.public void setPasswordEncoder(PasswordEncoder passwordEncoder)