public interface AccessControlProvider
AccessControl
s. It allows to
collect
all AccessControl
s 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 AccessControlPermission s (or more
precisely of all AccessControl s) contained in the AccessControl identified by the given groupId . |
boolean |
collectAccessControls(String id,
Set<AccessControl> permissions)
This method collects the
AccessControl s 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 AccessControlPermission
s (or more
precisely of all AccessControl
s) 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)
AccessControl
s 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 AccessControl
s.
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.