//Session status: set default value
int resultCode = HttpServletResponse.SC_UNAUTHORIZED;
//Instantiate Crawling session
crawlSession = new CrawlingSession(new Long(timeout).longValue());
//Set Valve Config
crawlSession.setValveConf(valveConf);
//Get session
logger.debug("Session ID to be seeked: " + credStr);