public class AuthenticationProviderReactiveAuthenticationManager
extends org.springframework.security.authentication.ReactiveAuthenticationManagerAdapter
ReactiveAuthenticationManager applying given list of AuthenticationProvider.
allows to re-use existing AuthenticationProvider for the reactive APIs.
The list of AuthenticationProviders will be successively tried until an
AuthenticationProvider indicates it is capable of authenticating the
type of Authentication object passed. Authentication will then be
attempted with that AuthenticationProvider.
If more than one AuthenticationProvider supports the passed
Authentication object, the first one able to successfully
authenticate the Authentication object determines the
result, overriding any possible AuthenticationException
thrown by earlier supporting AuthenticationProviders.
On successful authentication, no subsequent AuthenticationProviders
will be tried.
If authentication was not successful by any supporting
AuthenticationProvider the last thrown
AuthenticationException will be rethrown.
AuthenticationProvider| Constructor and Description |
|---|
AuthenticationProviderReactiveAuthenticationManager(org.springframework.security.authentication.AuthenticationProvider... authenticationProviders) |
AuthenticationProviderReactiveAuthenticationManager(List<org.springframework.security.authentication.AuthenticationProvider> authenticationProviders) |
public AuthenticationProviderReactiveAuthenticationManager(List<org.springframework.security.authentication.AuthenticationProvider> authenticationProviders)
public AuthenticationProviderReactiveAuthenticationManager(org.springframework.security.authentication.AuthenticationProvider... authenticationProviders)
Copyright © 2019 Atlassian. All rights reserved.