|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.jive.CrowdUser
public class CrowdUser
LDAP implementation of the User interface. This class supports storing all user information in the LDAP directory, or only getting critical data from LDAP and storing all other data in the database.
| Constructor Summary | |
|---|---|
protected |
CrowdUser(long userID,
java.lang.Object fakeParam)
Load a Crowd user specified by userID. |
protected |
CrowdUser(long userID,
java.lang.Object fakeParam,
SecurityServerClient securityServerClient)
|
protected |
CrowdUser(java.lang.String username)
Creates a new Crowd user. |
protected |
CrowdUser(java.lang.String username,
java.lang.Object fakeParam)
Load a LdapUser object specified by username. |
protected |
CrowdUser(java.lang.String username,
java.lang.Object fakeParam,
SecurityServerClient securityServerClient)
|
protected |
CrowdUser(java.lang.String username,
SecurityServerClient securityServerClient)
|
| Method Summary | |
|---|---|
void |
deleteProperty(java.lang.String name)
|
boolean |
equals(java.lang.Object object)
|
int |
getCachedSize()
|
java.util.Date |
getCreationDate()
|
java.lang.String |
getEmail()
|
long |
getID()
|
java.util.Date |
getModificationDate()
|
java.lang.String |
getName()
|
java.lang.String |
getPasswordHash()
|
com.jivesoftware.base.Permissions |
getPermissions(com.jivesoftware.base.AuthToken authToken)
|
java.lang.String |
getProperty(java.lang.String name)
|
java.util.Iterator |
getPropertyNames()
|
java.lang.String |
getUsername()
|
int |
hashCode()
|
boolean |
isAuthorized(long type)
|
boolean |
isEmailVisible()
|
boolean |
isGetPasswordHashSupported()
false, not supported in ldap implementation |
boolean |
isNameVisible()
|
boolean |
isPropertyEditSupported()
supported, returns true |
boolean |
isReadOnly()
not read only, returns false |
boolean |
isSetEmailSupported()
Returns true only if in Full LDAP mode and the Jive Property "ldap.fullMode.updateDirectory.enabled" is set to "true". |
boolean |
isSetEmailVisibleSupported()
supported, returns true |
boolean |
isSetNameSupported()
Returns true only if in Full LDAP mode and the Jive Property "ldap.fullMode.updateDirectory.enabled" is set to "true". |
boolean |
isSetNameVisibleSupported()
supported, returns true |
boolean |
isSetPasswordHashSupported()
false, not supported in ldap implementation |
boolean |
isSetPasswordSupported()
false, not supported in ldap implementation |
void |
setCreationDate(java.util.Date creationDate)
|
void |
setEmail(java.lang.String email)
|
void |
setEmailVisible(boolean visible)
|
void |
setModificationDate(java.util.Date modificationDate)
|
void |
setName(java.lang.String name)
|
void |
setNameVisible(boolean visible)
|
void |
setPassword(java.lang.String password)
|
void |
setPasswordHash(java.lang.String passwordHash)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
java.lang.String |
toString()
Returns a String representation of the User object using the username. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CrowdUser(java.lang.String username)
throws com.jivesoftware.base.UserNotFoundException
username - the username for the new entry.
com.jivesoftware.base.UserNotFoundException
protected CrowdUser(java.lang.String username,
SecurityServerClient securityServerClient)
throws com.jivesoftware.base.UserNotFoundException
com.jivesoftware.base.UserNotFoundException
protected CrowdUser(long userID,
java.lang.Object fakeParam)
throws com.jivesoftware.base.UserNotFoundException
userID - the userID of the user to load.
com.jivesoftware.base.UserNotFoundException
protected CrowdUser(long userID,
java.lang.Object fakeParam,
SecurityServerClient securityServerClient)
throws com.jivesoftware.base.UserNotFoundException
com.jivesoftware.base.UserNotFoundException
protected CrowdUser(java.lang.String username,
java.lang.Object fakeParam)
throws com.jivesoftware.base.UserNotFoundException
username - the username of the user to load.
com.jivesoftware.base.UserNotFoundException
protected CrowdUser(java.lang.String username,
java.lang.Object fakeParam,
SecurityServerClient securityServerClient)
throws com.jivesoftware.base.UserNotFoundException
com.jivesoftware.base.UserNotFoundException| Method Detail |
|---|
public long getID()
getID in interface com.jivesoftware.base.Userpublic java.lang.String getUsername()
getUsername in interface com.jivesoftware.base.Userpublic java.lang.String getName()
getName in interface com.jivesoftware.base.Userpublic void setName(java.lang.String name)
setName in interface com.jivesoftware.base.Userpublic boolean isNameVisible()
isNameVisible in interface com.jivesoftware.base.Userpublic void setNameVisible(boolean visible)
setNameVisible in interface com.jivesoftware.base.Userpublic void setPassword(java.lang.String password)
setPassword in interface com.jivesoftware.base.Userpublic java.lang.String getPasswordHash()
getPasswordHash in interface com.jivesoftware.base.Userpublic void setPasswordHash(java.lang.String passwordHash)
setPasswordHash in interface com.jivesoftware.base.Userpublic java.lang.String getEmail()
getEmail in interface com.jivesoftware.base.Userpublic void setEmail(java.lang.String email)
setEmail in interface com.jivesoftware.base.Userpublic boolean isEmailVisible()
isEmailVisible in interface com.jivesoftware.base.Userpublic void setEmailVisible(boolean visible)
setEmailVisible in interface com.jivesoftware.base.Userpublic java.util.Date getCreationDate()
getCreationDate in interface com.jivesoftware.base.Userpublic void setCreationDate(java.util.Date creationDate)
setCreationDate in interface com.jivesoftware.base.Userpublic java.util.Date getModificationDate()
getModificationDate in interface com.jivesoftware.base.Userpublic void setModificationDate(java.util.Date modificationDate)
setModificationDate in interface com.jivesoftware.base.Userpublic java.lang.String getProperty(java.lang.String name)
getProperty in interface com.jivesoftware.base.User
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface com.jivesoftware.base.Userpublic void deleteProperty(java.lang.String name)
deleteProperty in interface com.jivesoftware.base.Userpublic java.util.Iterator getPropertyNames()
getPropertyNames in interface com.jivesoftware.base.Userpublic com.jivesoftware.base.Permissions getPermissions(com.jivesoftware.base.AuthToken authToken)
getPermissions in interface com.jivesoftware.base.Userpublic boolean isAuthorized(long type)
isAuthorized in interface com.jivesoftware.base.Userpublic int getCachedSize()
getCachedSize in interface com.jivesoftware.util.Cacheablepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic boolean isSetPasswordSupported()
isSetPasswordSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isGetPasswordHashSupported()
isGetPasswordHashSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isSetPasswordHashSupported()
isSetPasswordHashSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isSetNameSupported()
isSetNameSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isSetEmailSupported()
isSetEmailSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isSetNameVisibleSupported()
isSetNameVisibleSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isSetEmailVisibleSupported()
isSetEmailVisibleSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isPropertyEditSupported()
isPropertyEditSupported in interface com.jivesoftware.base.IntrospectiveUserpublic boolean isReadOnly()
isReadOnly in interface com.jivesoftware.base.IntrospectiveUser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||