Class LdapCredential

  • All Implemented Interfaces:
    java.io.Serializable

    public class LdapCredential
    extends java.lang.Object
    implements java.io.Serializable
    LdapCredential provides a custom implementation for adding LDAP credentials to a Subject.
    Version:
    $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
    Author:
    Middleware Services
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static int HASH_CODE_SEED
      hash code seed.
    • Constructor Summary

      Constructors 
      Constructor Description
      LdapCredential​(java.lang.Object credential)
      This creates a new LdapCredential with the supplied credential.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      This returns the supplied Object is equal to this LdapCredential.
      java.lang.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​(java.lang.Object credential)
        This creates a new LdapCredential with the supplied credential.
        Parameters:
        credential - Object
    • Method Detail

      • getCredential

        public java.lang.Object getCredential()
        This returns the credential for this LdapCredential.
        Returns:
        Object
      • equals

        public boolean equals​(java.lang.Object o)
        This returns the supplied Object is equal to this LdapCredential.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - Object
        Returns:
        boolean
      • hashCode

        public int hashCode()
        This returns the hash code for this LdapPrincipal.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int