|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.utils.ldap.LDAPEntity pt.digitalis.utils.ldap.LDAPUser
public class LDAPUser
Wrapper type for an LDAP user.
TODO: Viegas: Must try to create a common interface that this implementation and the IIdentityManager from DIF use.
This would prevent the need for the DIF IdentityManagerImpl to convert a list of LDAPUser objects to a list of
IDIFUser objects.
Field Summary | |
---|---|
static String |
DISPLAY_NAME
The 'display name' attribute. |
static String |
GIVEN_NAME
The 'given name' attribute. |
Fields inherited from class pt.digitalis.utils.ldap.LDAPEntity |
---|
COMMON_NAME, DESCRIPTION, DISTINGUISHED_NAME, NAME |
Constructor Summary | |
---|---|
LDAPUser()
|
Method Summary | |
---|---|
String |
getDisplayName()
Inspector for the display name. |
String |
getEmail()
Inspector for the e-mail. |
boolean |
getEnabled()
Inspector for the 'enabled' property. |
String |
getGivenName()
Inspector for the given name. |
String |
getLoginName()
Inspector for the login name. |
String |
getParameter(String attributeName)
Returns a given parameter value, identified by the name of the attribute on which the value is stored. |
Map<String,String> |
getParameters()
Returns the parameters map. |
List<String> |
getParametersToRemove()
Inspector for the 'bulkParametersToRemove' attribute. |
String |
getPassword()
Inspector for the password. |
String |
getUserName()
Inspector for the user name. |
void |
removeParameter(String attributeName)
Removes a parameter from the parameters map. |
void |
setDisplayName(String displayName)
Modifier for the display name. |
void |
setEmail(String eMail)
Modifier for the e-mail. |
void |
setEnabled(boolean enabled)
Modifier for the 'enabled' property. |
void |
setGivenName(String givenName)
Modifier for the given name. |
void |
setLoginName(String loginName)
Modifier for the login name. |
void |
setParameter(String attributeName,
String value)
Sets a parameter on the parameters map. |
void |
setPassword(String password)
Modifier for the password. |
void |
setUserName(String userName)
Modifier for the user name. |
String |
toString()
|
Methods inherited from class pt.digitalis.utils.ldap.LDAPEntity |
---|
getCommonName, getDescription, getDistinguishedName, getName, getParentGroupDN, setCommonName, setDescription, setDistinguishedName, setName, setParentGroupDN |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DISPLAY_NAME
public static final String GIVEN_NAME
Constructor Detail |
---|
public LDAPUser()
Method Detail |
---|
public String getDisplayName()
public String getEmail()
public boolean getEnabled()
public String getGivenName()
public String getLoginName()
public String getParameter(String attributeName)
attributeName
- the name of the attribute on which the parameter value is stored
public Map<String,String> getParameters()
public List<String> getParametersToRemove()
public String getPassword()
public String getUserName()
public void removeParameter(String attributeName)
attributeName
- the name of the attribute on which the parameter value is storedpublic void setDisplayName(String displayName)
displayName
- the displayName to setpublic void setEmail(String eMail)
eMail
- the new e-mail to setpublic void setEnabled(boolean enabled)
enabled
- the new 'enabled' valuepublic void setGivenName(String givenName)
givenName
- the givenName to setpublic void setLoginName(String loginName)
loginName
- the name to setpublic void setParameter(String attributeName, String value)
attributeName
- the name of the LDAP attribute that will store the parametervalue
- the parameter valuepublic void setPassword(String password)
password
- the password to setpublic void setUserName(String userName)
userName
- the user name to setpublic String toString()
toString
in class LDAPEntity
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |