Package com.kheops.jmap.server
Class AbstractPermissionsController
java.lang.Object
com.kheops.jmap.server.AbstractController
com.kheops.jmap.server.AbstractAdminController
com.kheops.jmap.server.AbstractPermissionsController
- Direct Known Subclasses:
SystemPermissionsController
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.kheops.jmap.server.AbstractAdminController
lastException
Fields inherited from class com.kheops.jmap.server.AbstractController
controllerFactory, server, userContext
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPermissionsController
(UserContext userContext, AbstractPermissionsController.AclReference aclReference) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPermission
(Principal principal, Permission permission) void
addPermissions
(Principal principal, Permission[] permissions) boolean
checkPermission
(Principal principal, Permission permission) getAllowedGroups
(Permission permission) getAllowedUsers
(Permission permission) void
removePermission
(Principal principal, Permission permission) void
removePermissions
(Principal principal, Permission[] permissions) Methods inherited from class com.kheops.jmap.server.AbstractAdminController
getCurrentUser, getInstance, getLastException, isCurrentUserSuperAdmin, log, log, moveObjects, moveObjects, reserveId, unreserveId
Methods inherited from class com.kheops.jmap.server.AbstractController
getNextSequenceValue, getSystemDatabase, initializeSequence, isSequenceExists
-
Constructor Details
-
AbstractPermissionsController
protected AbstractPermissionsController(UserContext userContext, AbstractPermissionsController.AclReference aclReference)
-
-
Method Details
-
checkPermission
-
addPermission
-
addPermissions
-
removePermission
-
removePermissions
-
getAllowedUsers
-
getAllowedGroups
-
getAclReference
-