| Package | Description |
|---|---|
| org.craftercms.commons.security.permissions |
| Modifier and Type | Class and Description |
|---|---|
class |
SecuredObjectBase<P extends Permission>
Base for secured object that provide already attached permissions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositePermission
Represents a permission that is a collection of other permissions.
|
class |
PermissionBase
Base for
Permission that uses a set of allowed actions to
check |
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Permission> |
CompositePermission.permissions |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionResolver.getGlobalPermission(S subject)
Returns the global permission (that applies to any or all objects) associated to the given subject.
|
Permission |
PermissionResolver.getPermission(S subject,
O object)
Returns the permission associated to the given subject and object.
|
| Constructor and Description |
|---|
CompositePermission(Permission... permissions) |
| Constructor and Description |
|---|
CompositePermission(Collection<Permission> permissions) |
Copyright © 2018 CrafterCMS. All rights reserved.