org.springframework.security.util
Class AntUrlPathMatcher
java.lang.Object
org.springframework.security.util.AntUrlPathMatcher
- All Implemented Interfaces:
- UrlMatcher
public class AntUrlPathMatcher
- extends Object
- implements UrlMatcher
Ant path strategy for URL matching.
- Version:
- $Id$
- Author:
- Luke Taylor
AntUrlPathMatcher
public AntUrlPathMatcher()
AntUrlPathMatcher
public AntUrlPathMatcher(boolean requiresLowerCaseUrl)
compile
public Object compile(String path)
- Specified by:
compile
in interface UrlMatcher
setRequiresLowerCaseUrl
public void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
pathMatchesUrl
public boolean pathMatchesUrl(Object path,
String url)
- Specified by:
pathMatchesUrl
in interface UrlMatcher
getUniversalMatchPattern
public String getUniversalMatchPattern()
- Description copied from interface:
UrlMatcher
- Returns the path which matches every URL
- Specified by:
getUniversalMatchPattern
in interface UrlMatcher
requiresLowerCaseUrl
public boolean requiresLowerCaseUrl()
- Description copied from interface:
UrlMatcher
- Returns true if the matcher expects the URL to be converted to lower case before
calling
UrlMatcher.pathMatchesUrl(Object, String)
.
- Specified by:
requiresLowerCaseUrl
in interface UrlMatcher
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.