Class KeytabCredential
- java.lang.Object
-
- nl.esciencecenter.xenon.credentials.KeytabCredential
-
- All Implemented Interfaces:
Credential
,UserCredential
public class KeytabCredential extends java.lang.Object implements UserCredential
-
-
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()
-
-
-
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 interfaceUserCredential
- 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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-