Class AggregationFilterImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authorization.principalbased.impl.AggregationFilterImpl
-
- All Implemented Interfaces:
AggregationFilter
public class AggregationFilterImpl extends Object implements AggregationFilter
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authorization.permission.AggregationFilter
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description AggregationFilterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
stop(@NotNull AccessControlManager accessControlManager, @Nullable String absPath)
Determine if computing effective access control policies for the given path should stop after the givenaccessControlManager
completed.boolean
stop(@NotNull JackrabbitAccessControlManager accessControlManager, @NotNull Set<Principal> principals)
Determine if computing effective access control policies for the given set of principals should stop after the givenaccessControlManager
completed.boolean
stop(@NotNull AggregatedPermissionProvider permissionProvider, @NotNull Set<Principal> principals)
Determine if permission evaluation for the given set of principals should stop after the givepermissionProvider
completed it's evaluation.
-
-
-
Method Detail
-
stop
public boolean stop(@NotNull @NotNull AggregatedPermissionProvider permissionProvider, @NotNull @NotNull Set<Principal> principals)
Description copied from interface:AggregationFilter
Determine if permission evaluation for the given set of principals should stop after the givepermissionProvider
completed it's evaluation.- Specified by:
stop
in interfaceAggregationFilter
- Parameters:
permissionProvider
- An aggregated permission provider instance.principals
- The set of principals for which permissions are being evaluated.- Returns:
true
if aggregation of permission providers should be stopped after the givenpermissionProvider
created for the given set ofprincipals
.
-
stop
public boolean stop(@NotNull @NotNull JackrabbitAccessControlManager accessControlManager, @NotNull @NotNull Set<Principal> principals)
Description copied from interface:AggregationFilter
Determine if computing effective access control policies for the given set of principals should stop after the givenaccessControlManager
completed.- Specified by:
stop
in interfaceAggregationFilter
- Parameters:
accessControlManager
- An access control manager.principals
- The set ofPrincipal
s for which effective policies are being computed.- Returns:
true
if aggregation of effective policies for the specified principals should be stopped after the givenaccessControlManager
.- See Also:
AccessControlManager.getEffectivePolicies(String)
-
stop
public boolean stop(@NotNull @NotNull AccessControlManager accessControlManager, @Nullable @Nullable String absPath)
Description copied from interface:AggregationFilter
Determine if computing effective access control policies for the given path should stop after the givenaccessControlManager
completed.- Specified by:
stop
in interfaceAggregationFilter
- Parameters:
accessControlManager
- An access control manager.absPath
- An absolute path.- Returns:
true
if aggregation of effective policies for the specified effective path should be stopped after the givenaccessControlManager
.- See Also:
JackrabbitAccessControlManager.getEffectivePolicies(Set)
-
-