|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface User
| Method Summary | |
|---|---|
int |
compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods |
boolean |
equals(java.lang.Object o)
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). |
long |
getDirectoryId()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getEmailAddress()
|
int |
hashCode()
Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName(). |
boolean |
isActive()
|
| Methods inherited from interface java.security.Principal |
|---|
getName, toString |
| Method Detail |
|---|
long getDirectoryId()
boolean isActive()
true if and only if the user is allowed to authenticate.java.lang.String getEmailAddress()
java.lang.String getDisplayName()
boolean equals(java.lang.Object o)
equals in interface java.security.Principalequals in class java.lang.Objecto - object to compare to.
true if and only if the directoryId
and name.toLowerCase() of the directory entities match.int hashCode()
hashCode in interface java.security.PrincipalhashCode in class java.lang.Objectint compareTo(User user)
compareTo in interface java.lang.Comparable<User>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||