public class LdapPrincipal extends Object implements Principal, Serializable, Comparable<Principal>
Modifier and Type | Field and Description |
---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
private LdapEntry |
ldapEntry
User ldap entry.
|
private String |
ldapName
LDAP user name.
|
private static long |
serialVersionUID
serial version uid.
|
Constructor and Description |
---|
LdapPrincipal(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 ldapName
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.