SEC-2547: Fix sample after updating CAS client version

This commit is contained in:
Rob Winch
2014-04-15 07:35:27 -05:00
parent d9e87d8222
commit 7ea0d3d42f
3 changed files with 9 additions and 3 deletions

View File

@@ -5525,7 +5525,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
// Make a remote call using the proxy ticket
final String serviceUrl = targetUrl+"?ticket="+URLEncoder.encode(proxyTicket, "UTF-8");
String proxyResponse = CommonUtils.getResponseFromServer(serviceUrl, "UTF-8");
String proxyResponse = CommonUtils.getResponseFromServer(new URL(serviceUrl), connectionFactory, "UTF-8");
...
}
----