|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.security.UserImpl
Implementatio of User interface.
| Constructor Summary | |
|---|---|
UserImpl(java.lang.String login,
java.lang.String name,
java.util.Set roles)
Creates a new UserImpl instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getLogin()
Returns login name of user. |
java.lang.String |
getRealName()
Returns real name of user. |
java.util.Set |
getRoles()
Returns roles of user. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserImpl(java.lang.String login,
java.lang.String name,
java.util.Set roles)
UserImpl instance.
login - String login name of user.name - String real name of user.roles - Set roles of user.| Method Detail |
public final java.lang.String getLogin()
getLogin in interface UserUser.getLogin()public final java.lang.String getRealName()
getRealName in interface UserUser.getRealName()public final java.util.Set getRoles()
getRoles in interface UserUser.getRoles()public final boolean equals(java.lang.Object obj)
obj - Object the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public final int hashCode()
public java.lang.String toString()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||