|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A user object representing an authenticated user.
This user object is obtained after successful authentication
from the UserAuthenticator.
This user object is different from User
which is used for managing users, while this user object is rather
a proof of successful authentication used inside the implementation.
If you are a user of the repository API, you should never be in
contact with this object, this object is only relevant to the internal
implementation.
| Method Summary | |
long[] |
getActiveRoleIds()
The currently active role of the user. |
long[] |
getAvailableRoleIds()
The roles this user has. |
long |
getId()
|
java.lang.String |
getLogin()
The login string for this user. |
java.lang.String |
getPassword()
The password can sometimes be needed if the the Repository implementation itself needs to connect to other services using this user. |
org.outerx.daisy.x10.UserInfoDocument |
getXml()
|
boolean |
isInAdministratorRole()
|
boolean |
isInRole(long roleId)
|
void |
setActiveRoleIds(long[] roleIds)
Changes the active roles. |
| Method Detail |
public long getId()
public java.lang.String getLogin()
getPassword() for why this can sometimes be needed.
public java.lang.String getPassword()
public long[] getActiveRoleIds()
public boolean isInRole(long roleId)
public boolean isInAdministratorRole()
public long[] getAvailableRoleIds()
setActiveRoleIds(long[]) method.
public void setActiveRoleIds(long[] roleIds)
public org.outerx.daisy.x10.UserInfoDocument getXml()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||