}
else if (responseCode == 200)
{
// String body = httpMethod.getResponseBodyAsString();
// Header [] head = httpMethod.getResponseHeaders();
TicketParamRewriter ticketWriter = new TicketParamRewriter();
String ticketName = (String)request.getPreferences().getValue(SSO_PREF_TICKET_NAME, null);
if (ticketName != null)
{
ticketWriter.setTicketName(ticketName);
Reader reader = new InputStreamReader(httpMethod.getResponseBodyAsStream());
createParserAdaptor().parse(ticketWriter, reader);
ticket = ticketWriter.getTicket();
}
}
}
catch (Exception e)
{