Author: sohil.shah(a)jboss.com
Date: 2011-01-06 21:59:38 -0500 (Thu, 06 Jan 2011)
New Revision: 5694
Modified:
components/sso/branches/1.0.1-GA-00399567/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
Log:
patched code
Modified:
components/sso/branches/1.0.1-GA-00399567/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
===================================================================
---
components/sso/branches/1.0.1-GA-00399567/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-01-06
21:32:07 UTC (rev 5693)
+++
components/sso/branches/1.0.1-GA-00399567/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-01-07
02:59:38 UTC (rev 5694)
@@ -79,7 +79,7 @@
Cas20ProxyTicketValidator ticketValidator = new
Cas20ProxyTicketValidator(casServerUrl);
ticketValidator.setRenew(this.renewTicket);
- String serviceUrl = "http://"+ httpRequest.getServerName() +":" +
httpRequest.getServerPort() +
+ String serviceUrl = httpRequest.getScheme()+"://"+
httpRequest.getServerName() +":" + httpRequest.getServerPort() +
httpRequest.getContextPath() +"/private/classic";
Assertion assertion = ticketValidator.validate(ticket, serviceUrl);
Show replies by date