org.ldaptive.jaas
Class LdapCredential

java.lang.Object
  extended by 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.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services
See Also:
Serialized Form

Constructor Summary
LdapCredential(Object o)
          Creates a new ldap credential with the supplied credential.
 
Method Summary
 boolean equals(Object o)
          
 Object getCredential()
          Returns the credential for this ldap credential.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


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