Class BearerTokenAuthentication

java.lang.Object
com.appliedolap.essbase.impl.BearerTokenAuthentication
All Implemented Interfaces:
EssAuthentication

public class BearerTokenAuthentication extends Object implements EssAuthentication
An OAuth-style bearer token. See EssAuthentication.bearerToken(String) for the caveat about which deployments actually accept one.
  • Constructor Details

    • BearerTokenAuthentication

      public BearerTokenAuthentication(String token)
  • Method Details

    • authorizationHeader

      public String authorizationHeader()
      Description copied from interface: EssAuthentication
      The value for the Authorization header, or null to send none. Null is meaningful rather than a degenerate case - a cookie-borne session needs no Authorization header.
      Specified by:
      authorizationHeader in interface EssAuthentication