public interface AccessControlProvider
AccessControls. It allows to
collect all AccessControls for an ID of a AccessControl
(typically a AccessControlGroup or role). This is used to expand the groups provided by the access-manager
(authentication and identity-management) to the full set of permissions of the
user.contains in the collected Set, what is very fast as security checks happen
frequently.PrincipalAccessControlProvider| Modifier and Type | Method and Description |
|---|---|
boolean |
collectAccessControlIds(String id,
Set<String> permissions)
This method collects the
IDs of all AccessControlPermissions (or more
precisely of all AccessControls) contained in the AccessControl identified by the given groupId. |
boolean |
collectAccessControls(String id,
Set<AccessControl> permissions)
This method collects the
AccessControls contained in the AccessControl
identified by the given groupId. |
AccessControl |
getAccessControl(String id) |
AccessControl getAccessControl(String id)
id - is the ID of the requested AccessControl.AccessControl or null if not found.boolean collectAccessControlIds(String id, Set<String> permissions)
IDs of all AccessControlPermissions (or more
precisely of all AccessControls) contained in the AccessControl identified by the given groupId.id - is the ID of the AccessControl (typically an
AccessControlGroup) to collect.permissions - is the Set where to add the collected
IDs. This will include the given groupId.true if the given groupId has been found, false otherwise.collectAccessControls(String, Set)boolean collectAccessControls(String id, Set<AccessControl> permissions)
AccessControls contained in the AccessControl
identified by the given groupId.id - is the ID of the AccessControl (typically an
AccessControlGroup) to collect.permissions - is the Set where to add the collected AccessControls.
This will include the AccessControl identified by the given
groupId.true if the given groupId has been found, false otherwise.Copyright © 2014–2016 OASP-Team. All rights reserved.