Package org.ldaptive.jaas
Class LdapCredential
- java.lang.Object
-
- org.ldaptive.jaas.LdapCredential
-
public class LdapCredential extends Object
Provides a custom implementation for adding LDAP credentials to a subject.
-
-
Field Summary
Fields Modifier and Type Field Description private Object
credential
LDAP credential.private static int
HASH_CODE_SEED
hash code seed.
-
Constructor Summary
Constructors Constructor Description LdapCredential(Object o)
Creates a new ldap credential with the supplied credential.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Object
getCredential()
Returns the credential for this ldap credential.int
hashCode()
String
toString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
credential
private final Object credential
LDAP credential.
-
-
Constructor Detail
-
LdapCredential
public LdapCredential(Object o)
Creates a new ldap credential with the supplied credential.- Parameters:
o
- credential to store
-
-
Method Detail
-
getCredential
public Object getCredential()
Returns the credential for this ldap credential.- Returns:
- credential
-
-