org.springframework.security.web.util
Interface UrlMatcher

All Known Implementing Classes:
AntUrlPathMatcher, RegexUrlPathMatcher

public interface UrlMatcher

Strategy for deciding whether configured path matches a submitted candidate URL.

Since:
2.0

Method Summary
 Object compile(String urlPattern)
           
 String getUniversalMatchPattern()
          Returns the path which matches every URL
 boolean pathMatchesUrl(Object compiledUrlPattern, String url)
           
 boolean requiresLowerCaseUrl()
          Returns true if the matcher expects the URL to be converted to lower case before calling pathMatchesUrl(Object, String).
 

Method Detail

compile

Object compile(String urlPattern)

pathMatchesUrl

boolean pathMatchesUrl(Object compiledUrlPattern,
                       String url)

getUniversalMatchPattern

String getUniversalMatchPattern()
Returns the path which matches every URL


requiresLowerCaseUrl

boolean requiresLowerCaseUrl()
Returns true if the matcher expects the URL to be converted to lower case before calling pathMatchesUrl(Object, String).