Package | Description |
---|---|
org.jboss.security.acl |
Modifier and Type | Interface and Description |
---|---|
interface |
BitMaskPermission
This interface defines the methods that must be implemented by bitmask-based permissions.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicACLPermission
This enum defines the basic ACL permissions.
|
class |
CompositeACLPermission
This class represents a composite permission - a permission that contains one or more basic permissions.
|
Modifier and Type | Method and Description |
---|---|
protected ACLPermission |
ACLProviderImpl.getInitialPermissions(Resource resource,
String identityName)
This method retrieves the permissions the specified identity has over the specified resource.
|
ACLPermission |
EntitlementEntry.getPermission() |
ACLPermission |
ACLEntryImpl.getPermission() |
ACLPermission |
ACLEntry.getPermission()
Obtains the
Permission object held by this entry. |
Modifier and Type | Method and Description |
---|---|
boolean |
ACLEntryImpl.checkPermission(ACLPermission permission) |
boolean |
ACLEntry.checkPermission(ACLPermission permission)
Checks if the specified permission is part of the this entry's permission.
|
protected void |
ACLProviderImpl.fillEntitlements(Set<EntitlementEntry> entitlements,
Resource resource,
String identityName,
ACLPermission permission)
Helper method that populates the
entitlements collection as it traverses through the resources. |
boolean |
RoleBasedACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
This method overrides the default implementation to use roles instead of the identity name when checking for
permissions.
|
boolean |
ACLProviderImpl.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission) |
boolean |
ACLProvider.isAccessGranted(Resource resource,
Identity identity,
ACLPermission permission)
Checks if the given identity has the permissions needed to access the specified resource.
|
boolean |
ACLImpl.isGranted(ACLPermission permission,
Identity identity) |
boolean |
ACL.isGranted(ACLPermission permission,
Identity identity)
Verify if the given permission is assigned to the specified
Identity . |
Constructor and Description |
---|
EntitlementEntry(Resource resource,
ACLPermission permission,
String identityOrRole)
Creates an instance of
EntitlementEntry with the specified resource and permissions. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.