Interface RoleUsersManager
- All Superinterfaces:
IdentifiableUsersManager
- All Known Implementing Classes:
DatabaseUsers
,MemoryUsers
-
Method Summary
Modifier and TypeMethodDescriptionaddUser
(String login, RoleUserAttributes attributes) void
boolean
containsRole
(String role) boolean
containsUser
(String login) long
long
long
boolean
isUserInRole
(long userId, String role) boolean
boolean
listUserRoles
(String login, ListRoles processor) boolean
boolean
boolean
listUsersInRole
(ListUsers processor, String role) boolean
removeRole
(String name) boolean
removeUser
(long userId) boolean
removeUser
(String login) boolean
updateUser
(String login, RoleUserAttributes attributes) Methods inherited from interface rife.authentication.credentialsmanagers.IdentifiableUsersManager
getAttributes, getLogin
-
Method Details
-
addRole
- Throws:
CredentialsManagerException
-
containsRole
- Throws:
CredentialsManagerException
-
countRoles
- Throws:
CredentialsManagerException
-
listRoles
- Throws:
CredentialsManagerException
-
addUser
RoleUsersManager addUser(String login, RoleUserAttributes attributes) throws CredentialsManagerException - Throws:
CredentialsManagerException
-
containsUser
- Throws:
CredentialsManagerException
-
countUsers
- Throws:
CredentialsManagerException
-
getUserId
- Throws:
CredentialsManagerException
-
listUsers
- Throws:
CredentialsManagerException
-
listUsers
- Throws:
CredentialsManagerException
-
isUserInRole
- Throws:
CredentialsManagerException
-
listUsersInRole
- Throws:
CredentialsManagerException
-
updateUser
- Throws:
CredentialsManagerException
-
removeUser
- Throws:
CredentialsManagerException
-
removeUser
- Throws:
CredentialsManagerException
-
removeRole
- Throws:
CredentialsManagerException
-
clearUsers
- Throws:
CredentialsManagerException
-
listUserRoles
- Throws:
CredentialsManagerException
-