org.jasig.cas.client.authentication
Class RegexUrlPatternMatcherStrategy
java.lang.Object
org.jasig.cas.client.authentication.RegexUrlPatternMatcherStrategy
- All Implemented Interfaces:
- UrlPatternMatcherStrategy
public final class RegexUrlPatternMatcherStrategy
- extends Object
- implements UrlPatternMatcherStrategy
A pattern matcher that looks inside the url to find the pattern,. that
is assumed to have been specified via regular expressions syntax.
- Since:
- 3.3.1
- Author:
- Misagh Moayyed
|
Method Summary |
boolean |
matches(String url)
Execute the match between the given pattern and the url |
void |
setPattern(String pattern)
The pattern against which the url is compared |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexUrlPatternMatcherStrategy
public RegexUrlPatternMatcherStrategy()
RegexUrlPatternMatcherStrategy
public RegexUrlPatternMatcherStrategy(String pattern)
matches
public boolean matches(String url)
- Description copied from interface:
UrlPatternMatcherStrategy
- Execute the match between the given pattern and the url
- Specified by:
matches in interface UrlPatternMatcherStrategy
- Parameters:
url - the request url typically with query strings included
- Returns:
- true if match is successful
setPattern
public void setPattern(String pattern)
- Description copied from interface:
UrlPatternMatcherStrategy
- The pattern against which the url is compared
- Specified by:
setPattern in interface UrlPatternMatcherStrategy
Copyright © 2006-2015 Jasig. All Rights Reserved.