public interface PermissionService
@Inject PermissionService permissionService;
Concrete implementations do not hold any state, but it's advised to get an instance through CDI or as an EJB.| Modifier and Type | Method and Description |
|---|---|
Set<Permission> |
getPermissionsForOperation(Operation operation)
Provides a list of Permissions that exists for the given operation
|
Set<Role> |
getPermittedRoles(Operation operation)
Provides a list of roles that have permission to perform the given operation.
|
Set<Role> getPermittedRoles(Operation operation)
operation - the operationSet<Permission> getPermissionsForOperation(Operation operation)
operation - the operationCopyright © 2015 Red Hat, Inc.. All rights reserved.