Author: theute
Date: 2011-04-20 07:27:07 -0400 (Wed, 20 Apr 2011)
New Revision: 6300
Modified:
epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
Log:
JBEPP-771: CAS integration fails if EPP server is set up with SSL
Modified:
epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
===================================================================
---
epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-04-20
11:16:36 UTC (rev 6299)
+++
epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-04-20
11:27:07 UTC (rev 6300)
@@ -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