Interface BasicCallHeaderAuthenticator.CredentialValidator

Enclosing class:
BasicCallHeaderAuthenticator

public static interface BasicCallHeaderAuthenticator.CredentialValidator
Interface that this handler delegates to for validating the incoming headers.
  • Method Details

    • validate

      CallHeaderAuthenticator.AuthResult validate(String username, String password) throws Exception
      Validate the supplied credentials (username/password) and return the peer identity.
      Parameters:
      username - The username to validate.
      password - The password to validate.
      Returns:
      The peer identity if the supplied credentials are valid.
      Throws:
      Exception - If the supplied credentials are not valid.