Interface AuthenticationProvider
-
- All Known Implementing Classes:
DelegatingAuthenticationProvider,LdapAuthenticationProvider,OauthPasswordAuthenticationProvider,OpenIdPasswordAuthenticationProvider
public interface AuthenticationProviderDefines an authentication provider.- Since:
- 1.0
- Author:
- Sergio del Amo, Graeme Rocher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<AuthenticationResponse>authenticate(AuthenticationRequest authenticationRequest)Authenticates a user with the given request.
-
-
-
Method Detail
-
authenticate
org.reactivestreams.Publisher<AuthenticationResponse> authenticate(AuthenticationRequest authenticationRequest)
Authenticates a user with the given request. If a successful authentication is returned, the object must be an instance ofUserDetails.- Parameters:
authenticationRequest- The request to authenticate- Returns:
- A publisher that emits 0 or 1 responses
-
-