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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Set<String>
     
    protected org.springframework.util.PathMatcher
     
    boolean
    matches(javax.servlet.http.HttpServletRequest request)
     
    void
    setExcludeUrlSet(Set<String> excludeUrlSet)
     
    void
    setPathMatcher(org.springframework.util.PathMatcher pathMatcher)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      matches in interface org.springframework.security.web.util.matcher.RequestMatcher
    • getExcludeUrlSet

      protected Set<String> getExcludeUrlSet()
    • setExcludeUrlSet

      public void setExcludeUrlSet(Set<String> excludeUrlSet)
    • getPathMatcher

      protected org.springframework.util.PathMatcher getPathMatcher()
    • setPathMatcher

      public void setPathMatcher(org.springframework.util.PathMatcher pathMatcher)