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$
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-2010 SpringSource, Inc. All Rights Reserved.