org.jasig.cas.client.authentication
Interface UrlPatternMatcherStrategy

All Known Implementing Classes:
ContainsPatternUrlPatternMatcherStrategy, ExactUrlPatternMatcherStrategy, RegexUrlPatternMatcherStrategy

public interface UrlPatternMatcherStrategy

Defines an abstraction by which request urls can be matches against a given pattern. New instances for all extensions for this strategy interface will be created per each request. The client will ultimately invoke the matches(String) method having already applied and set the pattern via the setPattern(String) method. The pattern itself will be retrieved via the client configuration.

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
 

Method Detail

matches

boolean matches(String url)
Execute the match between the given pattern and the url

Parameters:
url - the request url typically with query strings included
Returns:
true if match is successful

setPattern

void setPattern(String pattern)
The pattern against which the url is compared

Parameters:
pattern -


Copyright © 2006-2015 Jasig. All Rights Reserved.