Interface Authenticator
- All Known Implementing Classes:
AbstractProfileService,InMemoryProfileService,LocalCachingAuthenticator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An authenticator is responsible for validating
Credentials and should throw a CredentialsException
if the authentication fails.- Since:
- 1.7.0
- Author:
- Jerome Leleu
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(Credentials credentials, WebContext context, SessionStore sessionStore) Validate the credentials.
-
Field Details
-
ALWAYS_VALIDATE
-
-
Method Details
-
validate
Validate the credentials. It should throw aCredentialsExceptionin case of failure.- Parameters:
credentials- the given credentialscontext- the web contextsessionStore- the session store
-