public interface AuthenticationProvider
| Modifier and Type | Method and Description |
|---|---|
AuthenticationData |
authenticate(AuthenticationData authentication)
Attempt to validate and populate the given Authentication
|
boolean |
supports(java.lang.Class<? extends AuthenticationData> authenticationClass)
Indicate whether the given Authentication class is supported by this AuthenticationProvider.
|
AuthenticationData authenticate(AuthenticationData authentication) throws AuthenticationException
authentication - a request for authenticationAuthenticationException - in case of errorboolean supports(java.lang.Class<? extends AuthenticationData> authenticationClass)
authenticationClass - the class of Authentication proposed.