public interface AggregationFilter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AggregationFilter
    Default implementation of the AggregationFilter interface that handles all combinations of permission providers and principals and never aborts the evaluation.
  • Method Summary

    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 given accessControlManager completed.
    boolean
    stop(@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 given accessControlManager completed.
    boolean
    stop(@NotNull AggregatedPermissionProvider permissionProvider, @NotNull Set<Principal> principals)
    Determine if permission evaluation for the given set of principals should stop after the give permissionProvider completed it's evaluation.
  • Field Details

    • DEFAULT

      static final AggregationFilter DEFAULT
      Default implementation of the AggregationFilter interface 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 give permissionProvider completed it's evaluation.
      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 given permissionProvider created for the given set of principals.
    • 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 given accessControlManager completed.
      Parameters:
      accessControlManager - An access control manager.
      principals - The set of Principals for which effective policies are being computed.
      Returns:
      true if aggregation of effective policies for the specified principals should be stopped after the given accessControlManager.
      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 given accessControlManager completed.
      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 given accessControlManager.
      See Also:
      • JackrabbitAccessControlManager.getEffectivePolicies(Set)