|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.server.core.authn.LdapPrincipal
An alternative X500 user implementation that has access to the distinguished name of the principal as well as the String representation.
| Field Summary | |
static LdapPrincipal |
ANONYMOUS
the no name anonymous user whose DN is the empty String |
| Method Summary | |
AuthenticationLevel |
getAuthenticationLevel()
Gets the authentication level associated with this LDAP principle. |
LdapDN |
getJndiName()
Gets a cloned copy of the normalized distinguished name of this principal as a JNDI Name. |
java.lang.String |
getName()
Returns the normalized distinguished name of the principal as a String. |
java.lang.String |
toString()
Returns string representation of the normalized distinguished name of this principal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
equals, hashCode |
| Field Detail |
public static final LdapPrincipal ANONYMOUS
| Method Detail |
public LdapDN getJndiName()
Name.
Namepublic java.lang.String getName()
getName in interface java.security.Principalpublic AuthenticationLevel getAuthenticationLevel()
public java.lang.String toString()
toString in interface java.security.Principal
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||