|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.jaas.LdapDnPrincipal
public class LdapDnPrincipal
Provides a custom implementation for adding LDAP principals to a subject.
| Constructor Summary | |
|---|---|
LdapDnPrincipal(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 LdapDnPrincipal(String name,
LdapEntry entry)
name - of an ldap DNentry - 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 | |||||||||