Class AuthenticationDataAthenz

java.lang.Object
org.apache.pulsar.client.impl.auth.AuthenticationDataAthenz
All Implemented Interfaces:
Serializable, org.apache.pulsar.client.api.AuthenticationDataProvider

public class AuthenticationDataAthenz extends Object implements org.apache.pulsar.client.api.AuthenticationDataProvider
See Also:
  • Field Details

    • roleToken

      protected String roleToken
    • httpHeaderName

      protected String httpHeaderName
  • Constructor Details

    • AuthenticationDataAthenz

      public AuthenticationDataAthenz(String roleToken, String httpHeaderName)
      Parameters:
      roleToken -
  • Method Details

    • hasDataForHttp

      public boolean hasDataForHttp()
      Specified by:
      hasDataForHttp in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getHttpHeaders

      public Set<Map.Entry<String,String>> getHttpHeaders()
      Specified by:
      getHttpHeaders in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • hasDataFromCommand

      public boolean hasDataFromCommand()
      Specified by:
      hasDataFromCommand in interface org.apache.pulsar.client.api.AuthenticationDataProvider
    • getCommandData

      public String getCommandData()
      Specified by:
      getCommandData in interface org.apache.pulsar.client.api.AuthenticationDataProvider