|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A user is an enterprise entity that is a description of an individual. A user provides:
Fields inherited from interface com.sas.edir.Entity |
PROPERTY_CHANGED, SUBPROPERTY_CHANGED |
Method Summary | |
java.lang.String |
getCredentials()
Returns the user's credentials. |
java.lang.String |
getEmailAddress()
Returns this user's email address. |
GroupFilter |
getGroupFilter()
Returns the user's group filter. |
java.lang.String |
getIdentity()
Returns the user's identity. |
java.lang.String |
getSurname()
Returns this user's surname. |
java.lang.String |
getUid()
Returns the user's uid attribute. |
java.lang.String |
getUserPassword()
Return the value for the userPassword attribute. |
java.util.Iterator |
groupIterator()
Returns a filtered iteration of groups this user belongs to. |
java.util.Iterator |
groupIterator(java.util.Comparator compare)
Returns a filtered and sorted iteration of all the groups this user belongs to. |
void |
setCredentials(java.lang.String credentials)
Sets the user's credentials. |
void |
setEmailAddress(java.lang.String address)
Sets this user's email address. |
void |
setGroupFilter(GroupFilter filter)
Sets the user's group filter. |
void |
setIdentity(java.lang.String identity)
Sets the user's identity. |
void |
setSurname(java.lang.String surname)
Sets this user's surname. |
void |
setUid(java.lang.String uid)
Sets the user's uid attribute. |
void |
setUserPassword(java.lang.String password)
Sets the user's password. |
Methods inherited from interface com.sas.edir.Entity |
addPropertyChangeListener, getContext, getCreateTime, getCreatorsName, getDescription, getEnterpriseDirectory, getGuid, getModifiersName, getModifyTime, getName, getObjectclass, removeModificationItems, removePropertyChangeListener, setDescription, setGuid, setName, setObjectclass |
Methods inherited from interface com.sas.edir.Caching |
edirUpdateStore, getTimeToLive, isExpired, refreshCache, refreshCachedObjects, releaseCache, setDirty, setTimeToLive, setTimeToLive, updateStore |
Methods inherited from interface com.sas.edir.TrackedObject |
getTrackingId, getUserData, setUserData |
Method Detail |
public java.lang.String getCredentials()
public void setCredentials(java.lang.String credentials)
credentials
- The credentials that validate the user's identity.public java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String address)
This change is not persisted to the enterprise directory until updateStore is called.
address
- The email address.public GroupFilter getGroupFilter()
public void setGroupFilter(GroupFilter filter)
The group filter is used to subset the list of groups retrieved from the enterprise directory. The groupIterator(...) methods will only iterate over the groups retrived from the enterprise directory.
filter
- The group filter.public java.util.Iterator groupIterator()
Filtering is based on the GroupFilter set with setGroupFilter(...).
public java.util.Iterator groupIterator(java.util.Comparator compare)
Filtering is based on the GroupFilter set with setGroupFilter(...).
comparator
- A Comparator for sorting, or null for no sorting.public java.lang.String getIdentity()
public void setIdentity(java.lang.String identity)
identity
- The user's enterprise directory identity.public java.lang.String getSurname()
public void setSurname(java.lang.String surname)
This change is not persisted to the enterprise directory until updateStore is called.
surname
- The surname.public void setUserPassword(java.lang.String password)
This allows the user's password to be updated. This is somewhat different from other updates because the password is not cached, and there is no explicit get function for the password. Since the password should be hashed, though, there should be no reason to want to get it.
password
- The new password.public java.lang.String getUserPassword()
public java.lang.String getUid()
public void setUid(java.lang.String uid)
uid
- The new uid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |