Class AuthUtilities

java.lang.Object
org.apache.arrow.flight.auth2.AuthUtilities

public final class AuthUtilities extends Object
Utility class for completing the auth process.
  • Method Details

    • getValueFromAuthHeader

      public static String getValueFromAuthHeader(CallHeaders headers, String valuePrefix)
      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.