|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDefaultUser
com.atlassian.crowd.integration.atlassianuser.CrowdUser
public class CrowdUser
Keeps a reference to the external Crowd principal. Lazy loads attrbutes as queried by the integrated application.
| Constructor Summary | |
|---|---|
CrowdUser()
Default constructor. |
|
CrowdUser(SOAPPrincipal principal)
Creates a crowd principal off the Crowd SOAP object. |
|
CrowdUser(String name)
Creates a crowd user with the specified name. |
|
| Method Summary | |
|---|---|
protected void |
configureCache()
|
String |
getEmail()
Gets the email of the principal. |
String |
getFullName()
Gets the fullname of the principal. |
protected String[] |
getPropertyValues(String key)
Gets a specific attrbiute from the Crowd security server. |
protected void |
processEmail()
Processes the server attributes and constructs an email for a principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrowdUser()
public CrowdUser(String name)
name - The username.public CrowdUser(SOAPPrincipal principal)
principal - The principal.| Method Detail |
|---|
protected void configureCache()
public String getFullName()
public String getEmail()
protected void processEmail()
protected String[] getPropertyValues(String key)
key - The attribute to lookup.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||