Class LdapUserIdentity
- java.lang.Object
-
- org.ametys.core.user.UserIdentity
-
- org.ametys.plugins.core.impl.user.LdapUserIdentity
-
public class LdapUserIdentity extends UserIdentity
UserIdentity
of a user in aLdapUserDirectory
. It contains the DN of the user
-
-
Constructor Summary
Constructors Constructor Description LdapUserIdentity(String login, String populationId, String dn)
Constructs a LDAP user identity, containing the DN of the user
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDn()
Gets the DN of the user in theLdapUserDirectory
String
toString()
-
Methods inherited from class org.ametys.core.user.UserIdentity
equals, getLogin, getPopulationId, hashCode, stringToUserIdentity, userIdentityToString
-
-
-
-
Constructor Detail
-
LdapUserIdentity
public LdapUserIdentity(String login, String populationId, String dn)
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 Detail
-
getDn
public String getDn()
Gets the DN of the user in theLdapUserDirectory
- Returns:
- the DN of the user
-
toString
public String toString()
- Overrides:
toString
in classUserIdentity
-
-