|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationUser
Represents a person who uses JIRA. This differs from a User
, which represents a user in a directory.
An ApplicationUser encompasses all users with the same username (ignoring case) across all directories.
This is intended to be used to allow for renaming of usernames in version 6.0.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Implementations must ensure equality based on getKey(). |
String |
getKey()
Returns the key which distinguishes the ApplicationUser as unique. |
int |
hashCode()
Implementations must produce a hashcode based on getKey(). |
Methods inherited from interface com.atlassian.crowd.embedded.api.User |
---|
compareTo, getDirectoryId, getDisplayName, getEmailAddress, isActive |
Methods inherited from interface java.security.Principal |
---|
getName, toString |
Method Detail |
---|
String getKey()
boolean equals(Object obj)
equals
in interface Principal
equals
in interface com.atlassian.crowd.embedded.api.User
equals
in class Object
obj
- object to compare to.
true
if and only if the key matches.int hashCode()
hashCode
in interface Principal
hashCode
in interface com.atlassian.crowd.embedded.api.User
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |