Class PrincipalGroupProviderGroupImpl
- java.lang.Object
-
- com.devonfw.module.security.common.base.accesscontrol.PrincipalGroupProviderGroupImpl
-
- All Implemented Interfaces:
PrincipalAccessControlProvider<Group>
@Deprecated public class PrincipalGroupProviderGroupImpl extends Object implements PrincipalAccessControlProvider<Group>
Deprecated.sinceGroupis deprecated, we also deprecate this class.This is an implementation ofPrincipalAccessControlProviderbased onGroup. Due to the confusing API ofGroupthat mixes aPrincipalwith permissions and permission groups it is not commonly used even though it is available in the Java standard edition.
-
-
Constructor Summary
Constructors Constructor Description PrincipalGroupProviderGroupImpl()Deprecated.The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcollectGroups(Group group, Set<String> groupSet)Deprecated.Called fromgetAccessControlIds(Group)to recursively collect the groups.Collection<String>getAccessControlIds(Group principal)Deprecated.
-
-
-
Method Detail
-
getAccessControlIds
public Collection<String> getAccessControlIds(Group principal)
Deprecated.- Specified by:
getAccessControlIdsin interfacePrincipalAccessControlProvider<Group>- Parameters:
principal- is thePrincipal(user).- Returns:
- the
CollectionofIDswith the groups of the givenPrincipal.
-
-