edu.vt.middleware.ldap.jaas
Class LdapCredential

java.lang.Object
  extended by edu.vt.middleware.ldap.jaas.LdapCredential
All Implemented Interfaces:
Serializable

public class LdapCredential
extends Object
implements Serializable

LdapCredential provides a custom implementation for adding LDAP credentials to a Subject.

Version:
$Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
Author:
Middleware Services
See Also:
Serialized Form

Field Summary
protected static int HASH_CODE_SEED
          hash code seed.
 
Constructor Summary
LdapCredential(Object credential)
          This creates a new LdapCredential with the supplied credential.
 
Method Summary
 boolean equals(Object o)
          This returns the supplied Object is equal to this LdapCredential.
 Object getCredential()
          This returns the credential for this LdapCredential.
 int hashCode()
          This returns the hash code for this LdapPrincipal.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HASH_CODE_SEED

protected static final int HASH_CODE_SEED
hash code seed.

See Also:
Constant Field Values
Constructor Detail

LdapCredential

public LdapCredential(Object credential)
This creates a new LdapCredential with the supplied credential.

Parameters:
credential - Object
Method Detail

getCredential

public Object getCredential()
This returns the credential for this LdapCredential.

Returns:
Object

equals

public boolean equals(Object o)
This returns the supplied Object is equal to this LdapCredential.

Overrides:
equals in class Object
Parameters:
o - Object
Returns:
boolean

hashCode

public int hashCode()
This returns the hash code for this LdapPrincipal.

Overrides:
hashCode in class Object
Returns:
int


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.