public interface AggregationFilter
Modifier and Type | Field and Description |
---|---|
static AggregationFilter |
DEFAULT
Default implementation of the
AggregationFilter interface that handles all combinations of permission
providers and principals and never aborts the evaluation. |
Modifier and Type | Method and Description |
---|---|
boolean |
stop(@NotNull AccessControlManager accessControlManager,
@Nullable java.lang.String absPath)
Determine if computing effective access control policies for the given path should stop after the given
accessControlManager completed. |
boolean |
stop(@NotNull AggregatedPermissionProvider permissionProvider,
@NotNull java.util.Set<java.security.Principal> principals)
Determine if permission evaluation for the given set of principals should stop after the give
permissionProvider completed it's evaluation. |
boolean |
stop(@NotNull JackrabbitAccessControlManager accessControlManager,
@NotNull java.util.Set<java.security.Principal> principals)
Determine if computing effective access control policies for the given set of principals should stop after the
given
accessControlManager completed. |
static final AggregationFilter DEFAULT
AggregationFilter
interface that handles all combinations of permission
providers and principals and never aborts the evaluation.boolean stop(@NotNull @NotNull AggregatedPermissionProvider permissionProvider, @NotNull @NotNull java.util.Set<java.security.Principal> principals)
permissionProvider
completed it's evaluation.permissionProvider
- An aggregated permission provider instance.principals
- The set of principals for which permissions are being evaluated.true
if aggregation of permission providers should be stopped after the given permissionProvider
created for the given set of principals
.boolean stop(@NotNull @NotNull JackrabbitAccessControlManager accessControlManager, @NotNull @NotNull java.util.Set<java.security.Principal> principals)
accessControlManager
completed.accessControlManager
- An access control manager.principals
- The set of Principal
s for which effective policies are being computed.true
if aggregation of effective policies for the specified principals should be stopped after
the given accessControlManager
.AccessControlManager.getEffectivePolicies(String)
boolean stop(@NotNull @NotNull AccessControlManager accessControlManager, @Nullable @Nullable java.lang.String absPath)
accessControlManager
completed.accessControlManager
- An access control manager.absPath
- An absolute path.true
if aggregation of effective policies for the specified effective path should be stopped after
the given accessControlManager
.JackrabbitAccessControlManager.getEffectivePolicies(Set)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.