Class AuthenticationDataAthenz

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.pulsar.client.api.AuthenticationDataProvider

    public class AuthenticationDataAthenz
    extends java.lang.Object
    implements org.apache.pulsar.client.api.AuthenticationDataProvider
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String httpHeaderName  
      protected java.lang.String roleToken  
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationDataAthenz​(java.lang.String roleToken, java.lang.String httpHeaderName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommandData()  
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHttpHeaders()  
      boolean hasDataForHttp()  
      boolean hasDataFromCommand()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.pulsar.client.api.AuthenticationDataProvider

        authenticate, getHttpAuthType, getTlsCerificateFilePath, getTlsCertificates, getTlsKeyStoreParams, getTlsPrivateKey, getTlsPrivateKeyFilePath, getTlsTrustStoreStream, hasDataForTls
    • Field Detail

      • roleToken

        protected java.lang.String roleToken
      • httpHeaderName

        protected java.lang.String httpHeaderName
    • Constructor Detail

      • AuthenticationDataAthenz

        public AuthenticationDataAthenz​(java.lang.String roleToken,
                                        java.lang.String httpHeaderName)
        Parameters:
        roleToken -
    • Method Detail

      • hasDataForHttp

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

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.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 java.lang.String getCommandData()
        Specified by:
        getCommandData in interface org.apache.pulsar.client.api.AuthenticationDataProvider