public class DelegatingApplicationUser extends Object implements ApplicationUser
ID_COMPARATOR| Constructor and Description |
|---|
DelegatingApplicationUser(Long id,
String key,
com.atlassian.crowd.embedded.api.User user) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Implementations must ensure equality based on getKey().
|
long |
getDirectoryId() |
com.atlassian.crowd.embedded.api.User |
getDirectoryUser() |
String |
getDisplayName()
Returns the display name of the user.
|
String |
getEmailAddress() |
Long |
getId() |
String |
getKey()
Returns the key which distinguishes the ApplicationUser as unique.
|
String |
getName()
Synonym for
ApplicationUser.getUsername() and implementation of Principal.getName(). |
String |
getUsername() |
int |
hashCode()
Implementations must produce a hashcode based on getKey().
|
boolean |
isActive() |
String |
toString() |
public Long getId()
public String getKey()
ApplicationUserUsers with the same username (ignoring case) across all user
directories.getKey in interface WithKeygetKey in interface ApplicationUserpublic boolean isActive()
isActive in interface ApplicationUsertrue if this user is active.public String getEmailAddress()
getEmailAddress in interface ApplicationUserpublic String getDisplayName()
ApplicationUsergetDisplayName in interface ApplicationUserpublic com.atlassian.crowd.embedded.api.User getDirectoryUser()
getDirectoryUser in interface ApplicationUserpublic String getUsername()
getUsername in interface ApplicationUsernull.ApplicationUser.getName()public String getName()
ApplicationUserApplicationUser.getUsername() and implementation of Principal.getName().getName in interface ApplicationUsergetName in interface Principalnull.ApplicationUser.getUsername()public long getDirectoryId()
getDirectoryId in interface ApplicationUserpublic boolean equals(Object obj)
ApplicationUserpublic int hashCode()
ApplicationUserCopyright © 2002-2016 Atlassian. All Rights Reserved.