org.camunda.bpm.webapp.impl.security.filter
Class PathFilterRule
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowedPaths
protected List<RequestMatcher> allowedPaths
deniedPaths
protected List<RequestMatcher> deniedPaths
PathFilterRule
public PathFilterRule()
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.