public class PrincipalGroupProviderGroupImpl extends Object implements PrincipalAccessControlProvider<Group>
PrincipalAccessControlProvider based on Group. Due to the confusing API of
Group that mixes a Principal with permissions and permission groups it is not commonly used even
though it is available in the Java standard edition.| Constructor and Description |
|---|
PrincipalGroupProviderGroupImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectGroups(Group group,
Set<String> groupSet)
Called from
getAccessControlIds(Group) to recursively collect the groups. |
Collection<String> |
getAccessControlIds(Group principal) |
public PrincipalGroupProviderGroupImpl()
public Collection<String> getAccessControlIds(Group principal)
getAccessControlIds in interface PrincipalAccessControlProvider<Group>principal - is the Principal (user).Collection of IDs with the groups of the given Principal.Copyright © 2014–2016 OASP-Team. All rights reserved.