Package org.apache.arrow.flight.auth2
Class BasicCallHeaderAuthenticator
java.lang.Object
org.apache.arrow.flight.auth2.BasicCallHeaderAuthenticator
- All Implemented Interfaces:
CallHeaderAuthenticator
A ServerAuthHandler for username/password authentication.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface that this handler delegates to for validating the incoming headers.Nested classes/interfaces inherited from interface org.apache.arrow.flight.auth2.CallHeaderAuthenticator
CallHeaderAuthenticator.AuthResult
-
Field Summary
Fields inherited from interface org.apache.arrow.flight.auth2.CallHeaderAuthenticator
NO_OP
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(CallHeaders incomingHeaders) Validate the auth headers sent by the client.
-
Constructor Details
-
BasicCallHeaderAuthenticator
-
-
Method Details
-
authenticate
Description copied from interface:CallHeaderAuthenticator
Validate the auth headers sent by the client.- Specified by:
authenticate
in interfaceCallHeaderAuthenticator
- Parameters:
incomingHeaders
- The incoming headers to authenticate.- Returns:
- an auth result containing a peer identity and optionally a bearer token.
-