org.n52.security.common.util
Class URLWildcardMatcher
java.lang.Object
org.n52.security.common.util.URLWildcardMatcher
public class URLWildcardMatcher
- extends Object
Compares URI's that may contain the wild card character '*' or '**' characters. Thus
it works like the PathWildcardMatcher but has some special behaviors for URLs.
If the pattern or incomming values can't be parsed to URLs it will fallback to the normal PathWildcardMatchFunction
behavior.
- http://host/enforcement/myEP/{asterisk}/layers/Countries ==
http://host/enforcement/myEP/httpauth/layers/Countries
- Author:
- Marko Reiprecht
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLWildcardMatcher
public URLWildcardMatcher(String wildCardUrlString,
boolean caseInsensitive)
- Creates new instance.
matches
public boolean matches(String testString)
Copyright © 2004–2013 52north.org. All rights reserved.