Interface AggregationFilter
public interface AggregationFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AggregationFilterDefault implementation of theAggregationFilterinterface that handles all combinations of permission providers and principals and never aborts the evaluation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstop(@NotNull AccessControlManager accessControlManager, @Nullable String absPath) Determine if computing effective access control policies for the given path should stop after the givenaccessControlManagercompleted.booleanstop(@NotNull org.apache.jackrabbit.api.security.JackrabbitAccessControlManager accessControlManager, @NotNull Set<Principal> principals) Determine if computing effective access control policies for the given set of principals should stop after the givenaccessControlManagercompleted.booleanstop(@NotNull AggregatedPermissionProvider permissionProvider, @NotNull Set<Principal> principals) Determine if permission evaluation for the given set of principals should stop after the givepermissionProvidercompleted it's evaluation.
-
Field Details
-
DEFAULT
Default implementation of theAggregationFilterinterface that handles all combinations of permission providers and principals and never aborts the evaluation.
-
-
Method Details
-
stop
boolean stop(@NotNull @NotNull AggregatedPermissionProvider permissionProvider, @NotNull @NotNull Set<Principal> principals) Determine if permission evaluation for the given set of principals should stop after the givepermissionProvidercompleted it's evaluation.- Parameters:
permissionProvider- An aggregated permission provider instance.principals- The set of principals for which permissions are being evaluated.- Returns:
trueif aggregation of permission providers should be stopped after the givenpermissionProvidercreated for the given set ofprincipals.
-
stop
boolean stop(@NotNull @NotNull org.apache.jackrabbit.api.security.JackrabbitAccessControlManager accessControlManager, @NotNull @NotNull Set<Principal> principals) Determine if computing effective access control policies for the given set of principals should stop after the givenaccessControlManagercompleted.- Parameters:
accessControlManager- An access control manager.principals- The set ofPrincipals for which effective policies are being computed.- Returns:
trueif aggregation of effective policies for the specified principals should be stopped after the givenaccessControlManager.- See Also:
-
stop
boolean stop(@NotNull @NotNull AccessControlManager accessControlManager, @Nullable @Nullable String absPath) Determine if computing effective access control policies for the given path should stop after the givenaccessControlManagercompleted.- Parameters:
accessControlManager- An access control manager.absPath- An absolute path.- Returns:
trueif aggregation of effective policies for the specified effective path should be stopped after the givenaccessControlManager.- See Also:
-
JackrabbitAccessControlManager.getEffectivePolicies(Set)
-