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.

@FunctionalInterface public interface Authenticator
An authenticator is responsible for validating Credentials and should throw a CredentialsException if the authentication fails.
Since:
1.7.0
Author:
Jerome Leleu
  • Field Details

  • Method Details

    • validate

      void validate(Credentials credentials, WebContext context, SessionStore sessionStore)
      Validate the credentials. It should throw a CredentialsException in case of failure.
      Parameters:
      credentials - the given credentials
      context - the web context
      sessionStore - the session store