|
||||||||||
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,
Object fakeParam)
Load a LdapUser object specified by userID. |
protected |
CrowdUser(String username)
Creates a new LdapUser. |
protected |
CrowdUser(String username,
Object fakeParam)
Load a LdapUser object specified by username. |
Method Summary | |
---|---|
void |
deleteProperty(String name)
|
boolean |
equals(Object object)
|
int |
getCachedSize()
|
Date |
getCreationDate()
|
String |
getEmail()
|
long |
getID()
|
Date |
getModificationDate()
|
String |
getName()
|
String |
getPasswordHash()
|
Permissions |
getPermissions(AuthToken authToken)
|
String |
getProperty(String name)
|
Iterator |
getPropertyNames()
|
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(Date creationDate)
|
void |
setEmail(String email)
|
void |
setEmailVisible(boolean visible)
|
void |
setModificationDate(Date modificationDate)
|
void |
setName(String name)
|
void |
setNameVisible(boolean visible)
|
void |
setPassword(String password)
|
void |
setPasswordHash(String passwordHash)
|
void |
setProperty(String name,
String value)
|
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(String username) throws UserNotFoundException
username
- the username for the new entry.
UserNotFoundException
protected CrowdUser(long userID, Object fakeParam) throws UserNotFoundException
userID
- the userID of the user to load.
UserNotFoundException
protected CrowdUser(String username, Object fakeParam) throws UserNotFoundException
username
- the username of the user to load.
UserNotFoundException
Method Detail |
---|
public long getID()
public String getUsername()
public String getName()
public void setName(String name)
public boolean isNameVisible()
public void setNameVisible(boolean visible)
public void setPassword(String password)
public String getPasswordHash()
public void setPasswordHash(String passwordHash)
public String getEmail()
public void setEmail(String email)
public boolean isEmailVisible()
public void setEmailVisible(boolean visible)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public Date getModificationDate()
public void setModificationDate(Date modificationDate)
public String getProperty(String name)
public void setProperty(String name, String value)
public void deleteProperty(String name)
public Iterator getPropertyNames()
public Permissions getPermissions(AuthToken authToken)
public boolean isAuthorized(long type)
public int getCachedSize()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
public boolean isSetPasswordSupported()
public boolean isGetPasswordHashSupported()
public boolean isSetPasswordHashSupported()
public boolean isSetNameSupported()
public boolean isSetEmailSupported()
public boolean isSetNameVisibleSupported()
public boolean isSetEmailVisibleSupported()
public boolean isPropertyEditSupported()
public boolean isReadOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |