Interface UsernamePasswordAuthenticator

All Known Implementing Classes:
ApiKeyUsernamePasswordAuthenticator, DefaultUsernamePasswordAuthenticator

public interface UsernamePasswordAuthenticator
Strategy that validates a username/password combination.
  • Method Details

    • priority

      int priority()
      Higher priority will be executed first.
    • validateCredentialsForPrincipal

      boolean validateCredentialsForPrincipal(UsernamePasswordCredentials credentials, PrincipalDetails principalDetails, Challenge challenge)
      Returns:
      true if the username/password combination is valid → the following authenticators won't be executed anymore