if (canon == null) {
throw new IllegalArgumentException("Unable to find canonicalizer, canonicalizer property or selfRedirFilter property must be set");
}
try {
urlkey = canon.urlStringToKey(wbRequest.getRequestUrl());
} catch (URIException ue) {
throw new BadQueryException(ue.toString());
}
//Do local access/url validation check