WebRequest request = getDummyRequest(webConfig);
request.addCookie(this.jsessionCookie);
// Make the connection using a default web request.
connection = helper.connect(request, theConfiguration);
}
catch (Throwable e)
{
throw new ChainedRuntimeException(
"Failed to connect to the secured redirector: " + resource, e);