Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.auth2
Interface BasicCallHeaderAuthenticator.CredentialValidator
- Enclosing class:
- BasicCallHeaderAuthenticator
public static interface BasicCallHeaderAuthenticator.CredentialValidator
Interface that this handler delegates to for validating the incoming headers.
-
Method Summary
Modifier and TypeMethodDescriptionValidate the supplied credentials (username/password) and return the peer identity.
-
Method Details
-
validate
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.
-