public interface ICredential
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY_CERTIFICATE |
static int |
PRIORITY_KERBEROS |
static int |
PRIORITY_UNDEFINED |
static int |
PRIORITY_USERNAME_PASSWORD |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object another)
Compares this credential to the specified object.
|
java.lang.String |
getCredentialType()
Returns the type of this credential.
|
java.lang.String |
getDetailedInfo()
Potentially returns more information about this credential.
|
int |
getPriority()
The credential priority.
|
java.lang.String |
getTokenFormat()
Returns the format of the token this credential was derived from.
|
java.lang.String |
getUsername()
Returns the name of the user represented by this credential.
|
int |
hashCode()
Returns a hashcode for this credential.
|
static final int PRIORITY_UNDEFINED
static final int PRIORITY_USERNAME_PASSWORD
static final int PRIORITY_CERTIFICATE
static final int PRIORITY_KERBEROS
int getPriority()
java.lang.String getCredentialType()
ICredentialTypes
for predefined values.
java.lang.String getUsername()
java.lang.String getDetailedInfo()
java.lang.String getTokenFormat()
com.actional.security.plugin.ITokenFormats
for predefined values.
boolean equals(java.lang.Object another)
equals
in class java.lang.Object
another
- credential to compare with.int hashCode()
hashCode
in class java.lang.Object