class IntranetEndsWithURITargetResolveStrategy implements URITargetResolveStrategy {

	public boolean initialize(String uriPattern) {
		if (uriPattern==null) {
			return false;
		}
		if (!uriPattern.startsWith(PREFIX)) {
			return false;
		}
		String values = uriPattern.substring(PREFIX.length()).trim();
		if (values.isEmpty()) {
			return false;
		}
		String[] uriEndings = values.split(",");
		for (String uriEnding: uriEndings) {
			endsWithList.add(uriEnding.trim());
		}
		return true;

	}

}