Package edu.vt.middleware.ldap.jaas
Class LdapCredential
- java.lang.Object
-
- edu.vt.middleware.ldap.jaas.LdapCredential
-
- All Implemented Interfaces:
java.io.Serializable
public class LdapCredential extends java.lang.Object implements java.io.Serializable
LdapCredential
provides a custom implementation for adding LDAP credentials to aSubject
.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
HASH_CODE_SEED
hash code seed.
-
Constructor Summary
Constructors Constructor Description LdapCredential(java.lang.Object credential)
This creates a newLdapCredential
with the supplied credential.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
This returns the supplied Object is equal to thisLdapCredential
.java.lang.Object
getCredential()
This returns the credential for thisLdapCredential
.int
hashCode()
This returns the hash code for thisLdapPrincipal
.
-
-
-
Field Detail
-
HASH_CODE_SEED
protected static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCredential
public java.lang.Object getCredential()
This returns the credential for thisLdapCredential
.- Returns:
Object
-
equals
public boolean equals(java.lang.Object o)
This returns the supplied Object is equal to thisLdapCredential
.- Overrides:
equals
in classjava.lang.Object
- Parameters:
o
-Object
- Returns:
boolean
-
hashCode
public int hashCode()
This returns the hash code for thisLdapPrincipal
.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
int
-
-