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 ObjectcredentialLDAP credential.private static intHASH_CODE_SEEDhash 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 booleanequals(Object o)ObjectgetCredential()Returns the credential for this ldap credential.inthashCode()StringtoString()
-
-
-
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
-
-