try {
logger.debug("Authorization process [" + url + "]");
//
//Launch authorization process
resultCode =
authorizationProcessCls.authorize(httpRequest, httpResponse,
userSession.getCookies(),
url, credID);
//Check if result is -1 (there is no pattern in the config file that matches with the URL)
if (resultCode == -1) {
logger.debug("Auth pattern not found for such URL. Setting 401");