Package org.apache.arrow.flight.auth2
Class AuthUtilities
java.lang.Object
org.apache.arrow.flight.auth2.AuthUtilities
Utility class for completing the auth process.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getValueFromAuthHeader
(CallHeaders headers, String valuePrefix) Helper method for retrieving a value from the Authorization header.
-
Method Details
-
getValueFromAuthHeader
Helper method for retrieving a value from the Authorization header.- Parameters:
headers
- The headers to inspect.valuePrefix
- The prefix within the value portion of the header to extract away.- Returns:
- The header value.
-