Class ExcludeUrlRequestMatcher
java.lang.Object
de.hybris.platform.yacceleratorstorefront.security.ExcludeUrlRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
public class ExcludeUrlRequestMatcher
extends Object
implements org.springframework.security.web.util.matcher.RequestMatcher
Custom request matcher that returns false for urls that match the urls found in the excludeUrlSet. All other urls
will return true.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
org.springframework.security.web.util.matcher.RequestMatcher.MatchResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.util.PathMatcherbooleanmatches(javax.servlet.http.HttpServletRequest request) voidsetExcludeUrlSet(Set<String> excludeUrlSet) voidsetPathMatcher(org.springframework.util.PathMatcher pathMatcher) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
matcher
-
Constructor Details
-
ExcludeUrlRequestMatcher
public ExcludeUrlRequestMatcher()
-
-
Method Details
-
matches
public boolean matches(javax.servlet.http.HttpServletRequest request) - Specified by:
matchesin interfaceorg.springframework.security.web.util.matcher.RequestMatcher
-
getExcludeUrlSet
-
setExcludeUrlSet
-
getPathMatcher
protected org.springframework.util.PathMatcher getPathMatcher() -
setPathMatcher
public void setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
-