Class ExcludeUrlRequestMatcher

  • All Implemented Interfaces:
    org.springframework.security.web.util.matcher.RequestMatcher

    public class ExcludeUrlRequestMatcher
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Set<java.lang.String> getExcludeUrlSet()  
      protected org.springframework.util.PathMatcher getPathMatcher()  
      boolean matches​(javax.servlet.http.HttpServletRequest request)  
      void setExcludeUrlSet​(java.util.Set<java.lang.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 Detail

      • ExcludeUrlRequestMatcher

        public ExcludeUrlRequestMatcher()
    • Method Detail

      • matches

        public boolean matches​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        matches in interface org.springframework.security.web.util.matcher.RequestMatcher
      • getExcludeUrlSet

        protected java.util.Set<java.lang.String> getExcludeUrlSet()
      • setExcludeUrlSet

        public void setExcludeUrlSet​(java.util.Set<java.lang.String> excludeUrlSet)
      • getPathMatcher

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

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