org.springframework.security.web.util
Class AntUrlPathMatcher
java.lang.Object
org.springframework.security.web.util.AntUrlPathMatcher
- All Implemented Interfaces:
- UrlMatcher
public class AntUrlPathMatcher
- extends Object
- implements UrlMatcher
Ant path strategy for URL matching.
- Version:
- $Id: AntUrlPathMatcher.java 3558 2009-04-15 07:39:21Z ltaylor $
- 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-2009 SpringSource, Inc. All Rights Reserved.