Class LdapRole

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

public class LdapRole extends Object implements Principal, Serializable, Comparable<Principal>
Provides a custom implementation for adding LDAP principals to a subject that represent roles.
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:
    • roleName

      private final String roleName
      LDAP role name.
  • Constructor Details

    • LdapRole

      public LdapRole(String name)
      Creates a new ldap role with the supplied name.
      Parameters:
      name - of this role
  • Method Details