Spring Security Framework

org.springframework.security.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
Version:
$Id: UrlMatcher.java 2673 2008-02-28 19:29:33Z luke_t $
Author:
Luke Taylor

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).


Spring Security Framework

Copyright © 2004-2011 SpringSource, Inc. All Rights Reserved.