Package org.ldaptive.jaas
Class LdapCredential
- java.lang.Object
-
- org.ldaptive.jaas.LdapCredential
-
- All Implemented Interfaces:
Serializable
public class LdapCredential extends Object implements Serializable
Provides a custom implementation for adding LDAP credentials to a subject.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Object
credential
LDAP credential.private static int
HASH_CODE_SEED
hash code seed.private static long
serialVersionUID
serial version uid.
-
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
-
serialVersionUID
private static final long serialVersionUID
serial version uid.- 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
-
-