|
||||||||||
| 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
public final class 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 | |
|---|---|
org.apache.directory.shared.ldap.aci.AuthenticationLevel |
getAuthenticationLevel()
Gets the authentication level associated with this LDAP principle. |
org.apache.directory.shared.ldap.name.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 org.apache.directory.shared.ldap.name.LdapDN getJndiName()
Name.
Namepublic java.lang.String getName()
getName in interface java.security.Principalpublic org.apache.directory.shared.ldap.aci.AuthenticationLevel getAuthenticationLevel()
public java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||