Class LdapCredential


  • public class LdapCredential
    extends Object
    Provides a custom implementation for adding LDAP credentials to a subject.
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object