|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticatedUser
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 |
---|
long getId()
java.lang.String getLogin()
getPassword()
for why this can sometimes be needed.
java.lang.String getPassword()
long[] getActiveRoleIds()
boolean isInRole(long roleId)
boolean isInAdministratorRole()
long[] getAvailableRoleIds()
setActiveRoleIds(long[])
method.
void setActiveRoleIds(long[] roleIds)
org.outerx.daisy.x10.UserInfoDocument getXml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |