Author: sohil.shah(a)jboss.com
Date: 2011-04-15 11:33:18 -0400 (Fri, 15 Apr 2011)
New Revision: 6242
Modified:
components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/.classpath
components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
Log:
bug fixed
Modified: components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/.classpath
===================================================================
--- components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/.classpath 2011-04-15 15:12:35 UTC
(rev 6241)
+++ components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/.classpath 2011-04-15 15:33:18 UTC
(rev 6242)
@@ -22,5 +22,5 @@
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con"
path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
<classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="output" path="bin"/>
</classpath>
Modified:
components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java
===================================================================
---
components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-04-15
15:12:35 UTC (rev 6241)
+++
components/sso/branches/1.0.1-GA-JBEPP-771/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/cas/CASAgent.java 2011-04-15
15:33:18 UTC (rev 6242)
@@ -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