|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.jaas.LdapPrincipal
public class LdapPrincipal
Provides a custom implementation for adding LDAP principals to a subject.
| Constructor Summary | |
|---|---|
LdapPrincipal(String name,
LdapEntry entry)
Creates a new ldap principal with the supplied name. |
|
| Method Summary | |
|---|---|
int |
compareTo(Principal p)
|
boolean |
equals(Object o)
|
LdapEntry |
getLdapEntry()
Returns the ldap entry for this ldap principal. |
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdapPrincipal(String name,
LdapEntry entry)
name - of this principalentry - ldap entry associated with this principal| Method Detail |
|---|
public String getName()
getName in interface Principalpublic LdapEntry getLdapEntry()
public boolean equals(Object o)
equals in interface Principalequals in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic String toString()
toString in interface PrincipaltoString in class Objectpublic int compareTo(Principal p)
compareTo in interface Comparable<Principal>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||