org.camunda.bpm.webapp.impl.security.filter
Class PathFilterRule

java.lang.Object
  extended by org.camunda.bpm.webapp.impl.security.filter.PathFilterRule
All Implemented Interfaces:
SecurityFilterRule

public class PathFilterRule
extends Object
implements SecurityFilterRule

A SecurityFilterRule that deleagates to a set of PathMatchers

Author:
Daniel Meyer, nico.rehwaldt

Field Summary
protected  List<RequestMatcher> allowedPaths
           
protected  List<RequestMatcher> deniedPaths
           
 
Constructor Summary
PathFilterRule()
           
 
Method Summary
 Authorization authorize(String requestMethod, String requestUri)
          Authorize the given request and return a Authorization as a result.
 List<RequestMatcher> getAllowedPaths()
           
 List<RequestMatcher> getDeniedPaths()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowedPaths

protected List<RequestMatcher> allowedPaths

deniedPaths

protected List<RequestMatcher> deniedPaths
Constructor Detail

PathFilterRule

public PathFilterRule()
Method Detail

authorize

public Authorization authorize(String requestMethod,
                               String requestUri)
Description copied from interface: SecurityFilterRule
Authorize the given request and return a Authorization as a result. May return null if the request could not be authorized.

Specified by:
authorize in interface SecurityFilterRule
Returns:
the authorization for the given request or null if the authorization for the request could not be checked

getAllowedPaths

public List<RequestMatcher> getAllowedPaths()

getDeniedPaths

public List<RequestMatcher> getDeniedPaths()


Copyright © 2018 camunda services GmbH. All rights reserved.