Class LdapUserIdentity
java.lang.Object
org.ametys.core.user.UserIdentity
org.ametys.plugins.core.impl.user.LdapUserIdentity
UserIdentity
of a user in a LdapUserDirectory
. It contains the DN of the user-
Field Summary
-
Constructor Summary
ConstructorDescriptionLdapUserIdentity
(String login, String populationId, String dn) Constructs a LDAP user identity, containing the DN of the user -
Method Summary
Modifier and TypeMethodDescriptiongetDn()
Gets the DN of the user in theLdapUserDirectory
toString()
Methods inherited from class org.ametys.core.user.UserIdentity
equals, getLogin, getPopulationId, hashCode, stringToUserIdentity, userIdentityToString
-
Field Details
-
_dn
The DN of the user
-
-
Constructor Details
-
LdapUserIdentity
Constructs a LDAP user identity, containing the DN of the user- Parameters:
login
- The login of the userpopulationId
- The id of the user population the user belongs todn
- The DN of the user in the LDAP
-
-
Method Details
-
getDn
Gets the DN of the user in theLdapUserDirectory
- Returns:
- the DN of the user
-
toString
- Overrides:
toString
in classUserIdentity
-