Class PathFilterRule

  • All Implemented Interfaces:
    SecurityFilterRule

    public class PathFilterRule
    extends Object
    implements SecurityFilterRule

    A SecurityFilterRule that deleagates to a set of PathMatchers

    How this thing works:

    • A path that is not listed in deniedPaths is always granted anonymous access (even if the user is authenticated for a process engine).
    • A path that is listed in deniedPaths is then also checked against allowedPaths.
    • A path that is listed in allowedPaths is checked by the corresponding RequestAuthorizer that can decide to grant/deny (identified or anonymous) access.
    • A path that is not listed in allowedPaths is always granted anonymous access (via FilterRules.authorize(String, String, List))
    Author:
    Daniel Meyer, nico.rehwaldt