Class KeytabCredential

    • Constructor Summary

      Constructors 
      Constructor Description
      KeytabCredential​(java.lang.String username, java.lang.String keytabFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getKeytabFile()  
      java.lang.String getUsername()
      Returns the user name associated with this credential.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeytabCredential

        public KeytabCredential​(java.lang.String username,
                                java.lang.String keytabFile)
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        Description copied from interface: UserCredential
        Returns the user name associated with this credential.
        Specified by:
        getUsername in interface UserCredential
        Returns:
        the user name associated with this credential.
      • getKeytabFile

        public java.lang.String getKeytabFile()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object