Class LdapDnPrincipal

java.lang.Object
org.ldaptive.jaas.LdapDnPrincipal
All Implemented Interfaces:
Serializable, Comparable<Principal>, Principal

public class LdapDnPrincipal extends Object implements Principal, Serializable, Comparable<Principal>
Provides a custom implementation for adding LDAP principals to a subject.
See Also:
  • Field Details

    • HASH_CODE_SEED

      private static final int HASH_CODE_SEED
      hash code seed.
      See Also:
    • serialVersionUID

      private static final long serialVersionUID
      serial version uid.
      See Also:
    • ldapDn

      private final String ldapDn
      LDAP user name.
    • ldapEntry

      private final LdapEntry ldapEntry
      User ldap entry.
  • Constructor Details

    • LdapDnPrincipal

      public LdapDnPrincipal(String name, LdapEntry entry)
      Creates a new ldap principal with the supplied name.
      Parameters:
      name - of an ldap DN
      entry - ldap entry associated with this principal
  • Method Details