|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.jaas.LdapDnPrincipal
public class LdapDnPrincipal
LdapPrincipal provides a custom implementation for adding LDAP
principals to a Subject.
| Field Summary | |
|---|---|
protected static int |
HASH_CODE_SEED
hash code seed. |
| Constructor Summary | |
|---|---|
LdapDnPrincipal(String name)
This creates a new LdapPrincipal with the supplied name. |
|
| Method Summary | |
|---|---|
int |
compareTo(Principal p)
This compares the supplied object for order. |
boolean |
equals(Object o)
This returns the supplied Object is equal to this
LdapPrincipal. |
LdapAttributes |
getLdapAttributes()
This returns the ldap attributes for this LdapPrincipal. |
String |
getName()
This returns the name for this LdapPrincipal. |
int |
hashCode()
This returns the hash code for this LdapPrincipal. |
String |
toString()
This returns a String representation of this LdapPrincipal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int HASH_CODE_SEED
| Constructor Detail |
|---|
public LdapDnPrincipal(String name)
LdapPrincipal with the supplied name.
name - String| Method Detail |
|---|
public String getName()
LdapPrincipal.
getName in interface PrincipalStringpublic LdapAttributes getLdapAttributes()
LdapPrincipal.
LdapAttributespublic boolean equals(Object o)
LdapPrincipal.
equals in interface Principalequals in class Objecto - Object
booleanpublic int hashCode()
LdapPrincipal.
hashCode in interface PrincipalhashCode in class Objectintpublic String toString()
LdapPrincipal.
toString in interface PrincipaltoString in class ObjectStringpublic int compareTo(Principal p)
LdapPrincipal is
always less than any other object. Otherwise principals are compared
lexicographically on name.
compareTo in interface Comparable<Principal>p - Principal
int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||