edu.vt.middleware.ldap.jaas
public class LdapCredential extends java.lang.Object implements java.io.Serializable
LdapCredential provides a custom implementation for adding LDAP
credentials to a Subject.| Modifier and Type | Field and Description |
|---|---|
protected static int |
HASH_CODE_SEED
hash code seed.
|
| Constructor and Description |
|---|
LdapCredential(java.lang.Object credential)
This creates a new
LdapCredential with the supplied
credential. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
This returns the supplied Object is equal to this
LdapCredential. |
java.lang.Object |
getCredential()
This returns the credential for this
LdapCredential. |
int |
hashCode()
This returns the hash code for this
LdapPrincipal. |
protected static final int HASH_CODE_SEED
public LdapCredential(java.lang.Object credential)
LdapCredential with the supplied
credential.credential - Objectpublic java.lang.Object getCredential()
LdapCredential.Objectpublic boolean equals(java.lang.Object o)
LdapCredential.equals in class java.lang.Objecto - Objectbooleanpublic int hashCode()
LdapPrincipal.hashCode in class java.lang.ObjectintCopyright © 2014. All Rights Reserved.