Module org.apache.arrow.flight.core
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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface 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
ConstructorsConstructorDescription -
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:CallHeaderAuthenticatorValidate the auth headers sent by the client.- Specified by:
authenticatein interfaceCallHeaderAuthenticator- Parameters:
incomingHeaders- The incoming headers to authenticate.- Returns:
- an auth result containing a peer identity and optionally a bearer token.
-