@Component public class LegacyBasicAuthenticationProvider extends java.lang.Object implements LegacyAuthenticationProvider
| Constructor and Description |
|---|
LegacyBasicAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationData |
authenticateLegacy(AuthenticationData authState)
Attempt to validate and populate the given Authentication for users in legacy database
|
boolean |
supports(java.lang.Class<? extends AuthenticationData> authenticationClass)
Indicate whether the given Authentication class is supported by this AuthenticationProvider.
|
public AuthenticationData authenticateLegacy(AuthenticationData authState) throws AuthenticationException
LegacyAuthenticationProviderauthenticateLegacy in interface LegacyAuthenticationProviderauthState - a request for authenticationAuthenticationException - in case of errorpublic boolean supports(java.lang.Class<? extends AuthenticationData> authenticationClass)
LegacyAuthenticationProvidersupports in interface LegacyAuthenticationProviderauthenticationClass - the class of Authentication proposed.