public class LdapDnPrincipal extends Object implements Principal, Serializable, Comparable<Principal>
Modifier and Type | Field and Description |
---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
private String |
ldapDn
LDAP user name.
|
private LdapEntry |
ldapEntry
User ldap entry.
|
private static long |
serialVersionUID
serial version uid.
|
Constructor and Description |
---|
LdapDnPrincipal(String name,
LdapEntry entry)
Creates a new ldap principal with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Principal p) |
boolean |
equals(Object o) |
LdapEntry |
getLdapEntry()
Returns the ldap entry for this ldap principal.
|
String |
getName() |
int |
hashCode() |
String |
toString() |
private static final int HASH_CODE_SEED
private static final long serialVersionUID
private final String ldapDn
private final LdapEntry ldapEntry
public LdapEntry getLdapEntry()
public boolean equals(Object o)
public int hashCode()
public String toString()
public int compareTo(Principal p)
compareTo
in interface Comparable<Principal>
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.