public class PathFilterRule extends Object implements SecurityFilterRule
A SecurityFilterRule
that deleagates to a set of PathMatcher
s
Modifier and Type | Field and Description |
---|---|
protected List<RequestMatcher> |
allowedPaths |
protected List<RequestMatcher> |
deniedPaths |
Constructor and Description |
---|
PathFilterRule() |
Modifier and Type | Method and Description |
---|---|
Authorization |
authorize(String requestMethod,
String requestUri)
Authorize the given request and return a
Authorization as a result. |
List<RequestMatcher> |
getAllowedPaths() |
List<RequestMatcher> |
getDeniedPaths() |
protected List<RequestMatcher> allowedPaths
protected List<RequestMatcher> deniedPaths
public Authorization authorize(String requestMethod, String requestUri)
SecurityFilterRule
Authorization
as a result.
May return null
if the request could not be authorized.authorize
in interface SecurityFilterRule
null
if the authorization
for the request could not be checkedpublic List<RequestMatcher> getAllowedPaths()
public List<RequestMatcher> getDeniedPaths()
Copyright © 2017. All rights reserved.