gatein SVN: r6308 - components/pc/trunk/api/src/main/java/org/gatein/pc/api.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2011-04-20 13:01:38 -0400 (Wed, 20 Apr 2011)
New Revision: 6308
Modified:
components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java
components/pc/trunk/api/src/main/java/org/gatein/pc/api/StatefulPortletContext.java
Log:
- Renamed PCComponents to Components.
- Added documentation.
Modified: components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java
===================================================================
--- components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java 2011-04-20 12:41:10 UTC (rev 6307)
+++ components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java 2011-04-20 17:01:38 UTC (rev 6308)
@@ -38,10 +38,7 @@
private static final String PREFIX = "/";
private static final char SEPARATOR = '.';
- /**
- * The separator used in the id to route to the correct invoker. TODO: change value back once tests have been done to
- * remove incidental use of value
- */
+ /** The separator used in the id to route to the correct invoker. */
public static final String INVOKER_SEPARATOR = ".";
public static final String PRODUCER_CLONE_ID_PREFIX = "_";
@@ -56,7 +53,7 @@
public final static PortletContext LOCAL_CONSUMER_CLONE = PortletContext.createPortletContext(PortletInvoker.LOCAL_PORTLET_INVOKER_ID + INVOKER_SEPARATOR + CONSUMER_CLONE_ID);
public static final String INVALID_PORTLET_CONTEXT = "Invalid portlet context: ";
- private final PCComponents components;
+ private final Components components;
protected PortletContext(String id) throws IllegalArgumentException
{
@@ -67,7 +64,7 @@
{
ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(id, "portlet id", "PortletContext");
- PCComponents components;
+ Components components;
// components
if (interpret)
@@ -84,7 +81,24 @@
this.components = components;
}
- private PCComponents interpretIntoComponents(String id)
+ /**
+ * <p>Interprets the specified identifier and splits it into Components that can then be used to create a
+ * PortletContext.</p>
+ * <p/>
+ * <ul>Currently supported formats: <li>portletContext := invokerId + {@link #INVOKER_SEPARATOR} + {@link #PREFIX} +
+ * applicationName + {@link #SEPARATOR} + portletName</li> <li>portletContext := invokerId + {@link
+ * #INVOKER_SEPARATOR} + arbitraryPortletName</li> <li>portletContext := {@link #PRODUCER_CLONE_ID_PREFIX} +
+ * portletName</li> <li>portletContext := {@link #CONSUMER_CLONE_ID_PREFIX} + portletName</li> <li>invokerId :=
+ * space* + (digit | letter)+ + (digit | letter | space)*</li> <li>applicationName := space* + (digit | letter)+ +
+ * (digit | letter | space)*</li> <li>portletName := space* + (digit | letter)+ + (digit | letter | space)*</li>
+ * <li>arbitraryPortletName := ({@link #PREFIX} | {@link #PRODUCER_CLONE_ID_PREFIX} | {@link
+ * #CONSUMER_CLONE_ID_PREFIX})? + portletName</li> </ul>
+ *
+ * @param id the portlet identifier to interpret into components
+ * @return a Components object representing the interpreted components of the specified portlet identifier
+ * @throws IllegalArgumentException if the specified identifier cannot be properly interpreted into components
+ */
+ private Components interpretIntoComponents(String id)
{
String trimmedId = id.trim();
try
@@ -193,7 +207,7 @@
}
}
- protected PortletContext(PCComponents components)
+ protected PortletContext(Components components)
{
ParameterValidation.throwIllegalArgExceptionIfNull(components, "portlet context components");
this.components = components;
@@ -203,7 +217,7 @@
{
ParameterValidation.throwIllegalArgExceptionIfNull(compoundPortletContext, "PortletContext to dereference");
- PCComponents components = compoundPortletContext.getInternalComponents();
+ Components components = compoundPortletContext.getInternalComponents();
if (!components.isInterpreted())
{
try
@@ -221,7 +235,7 @@
return createCopyWithNewComponents(compoundPortletContext, components.createCopyWithoutInvoker());
}
- protected PCComponents interpret()
+ protected Components interpret()
{
return interpretIntoComponents(components.getId());
}
@@ -231,12 +245,12 @@
ParameterValidation.throwIllegalArgExceptionIfNull(portletContext, "PortletContext to reference");
ParameterValidation.throwIllegalArgExceptionIfNullOrEmpty(invokerId, "Invoker id to reference with", null);
- final PCComponents newComponents = portletContext.getInternalComponents().createCopyWithInvoker(invokerId);
+ final Components newComponents = portletContext.getInternalComponents().createCopyWithInvoker(invokerId);
return createCopyWithNewComponents(portletContext, newComponents);
}
- private static PortletContext createCopyWithNewComponents(PortletContext portletContextToCopy, PCComponents newComponents)
+ private static PortletContext createCopyWithNewComponents(PortletContext portletContextToCopy, Components newComponents)
{
if (portletContextToCopy instanceof StatefulPortletContext)
{
@@ -306,6 +320,17 @@
return new StatefulPortletContext<byte[]>(id, PortletStateType.OPAQUE, state);
}
+ /**
+ * Creates a PortletContext by interpreting the specified identifier and breaking it down to its components. When
+ * possible, it's better to use {@link #createPortletContext(String, String)} to create the PortletContext from its
+ * components instead of trying to build it manually. In case a PortletContext namespaced by a PortletInvoker id is
+ * needed, please use {@link #reference(String, PortletContext)}.
+ *
+ * @param portletId the portlet identifier to interpret as a PortletContext
+ * @return a newly created PortletContext representing the portlet associated with the specified identifier
+ * @throws IllegalArgumentException if the specified identifier cannot be properly interpreted into components
+ * @see {@link #interpretIntoComponents(String)}
+ */
public static PortletContext createPortletContext(String portletId)
{
return createPortletContext(portletId, true);
@@ -356,7 +381,7 @@
return getInternalComponents();
}
- private PCComponents getInternalComponents()
+ private Components getInternalComponents()
{
return components;
}
@@ -382,14 +407,14 @@
boolean isInterpreted();
}
- protected static interface PCComponents extends PortletContextComponents
+ protected static interface Components extends PortletContextComponents
{
- PCComponents createCopyWithoutInvoker();
+ Components createCopyWithoutInvoker();
- PCComponents createCopyWithInvoker(String invoker);
+ Components createCopyWithInvoker(String invoker);
}
- private static class InterpretedPortletContextComponents implements PCComponents
+ private static class InterpretedPortletContextComponents implements Components
{
private final String applicationName;
private final String portletName;
@@ -460,18 +485,18 @@
return true;
}
- public PCComponents createCopyWithoutInvoker()
+ public Components createCopyWithoutInvoker()
{
return new InterpretedPortletContextComponents(null, applicationName, portletName, producerCloned);
}
- public PCComponents createCopyWithInvoker(String invoker)
+ public Components createCopyWithInvoker(String invoker)
{
return new InterpretedPortletContextComponents(invoker, applicationName, portletName, producerCloned);
}
}
- private static class UninterpretedPortletContextComponents implements PCComponents
+ private static class UninterpretedPortletContextComponents implements Components
{
private static final String ERROR = "This PortletContext was not intepreted, only the portlet name is available!";
private final String portletName;
@@ -526,12 +551,12 @@
return false;
}
- public PCComponents createCopyWithoutInvoker()
+ public Components createCopyWithoutInvoker()
{
throw new IllegalStateException(ERROR);
}
- public PCComponents createCopyWithInvoker(String invoker)
+ public Components createCopyWithInvoker(String invoker)
{
return new InterpretedPortletContextComponents(invoker, null, portletName, null);
}
Modified: components/pc/trunk/api/src/main/java/org/gatein/pc/api/StatefulPortletContext.java
===================================================================
--- components/pc/trunk/api/src/main/java/org/gatein/pc/api/StatefulPortletContext.java 2011-04-20 12:41:10 UTC (rev 6307)
+++ components/pc/trunk/api/src/main/java/org/gatein/pc/api/StatefulPortletContext.java 2011-04-20 17:01:38 UTC (rev 6308)
@@ -40,7 +40,7 @@
return new StatefulPortletContext<S>(id, spc.type, spc.state);
}
- static <S extends Serializable> StatefulPortletContext<S> create(PortletContext.PCComponents components, StatefulPortletContext<S> spc)
+ static <S extends Serializable> StatefulPortletContext<S> create(Components components, StatefulPortletContext<S> spc)
{
return new StatefulPortletContext<S>(components, spc.type, spc.state);
}
@@ -70,7 +70,7 @@
this.state = state;
}
- StatefulPortletContext(PCComponents components, PortletStateType<S> type, S state)
+ StatefulPortletContext(Components components, PortletStateType<S> type, S state)
{
super(components);
13 years, 8 months
gatein SVN: r6307 - components/pc/trunk/api/src/main/java/org/gatein/pc/api.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2011-04-20 08:41:10 -0400 (Wed, 20 Apr 2011)
New Revision: 6307
Modified:
components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java
Log:
- GTNPC-62: reverted invoker separator to original value. It wasn't possible to thouroughly test with '+' as it's a special character in URL
Modified: components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java
===================================================================
--- components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java 2011-04-20 11:52:46 UTC (rev 6306)
+++ components/pc/trunk/api/src/main/java/org/gatein/pc/api/PortletContext.java 2011-04-20 12:41:10 UTC (rev 6307)
@@ -42,7 +42,7 @@
* The separator used in the id to route to the correct invoker. TODO: change value back once tests have been done to
* remove incidental use of value
*/
- public static final String INVOKER_SEPARATOR = "+";
+ public static final String INVOKER_SEPARATOR = ".";
public static final String PRODUCER_CLONE_ID_PREFIX = "_";
public static final int PRODUCER_CLONE_PREFIX_LENGTH = PRODUCER_CLONE_ID_PREFIX.length();
13 years, 8 months
gatein SVN: r6306 - epp/sso/branches/1.0-epp-5.0-Branch.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:52:46 -0400 (Wed, 20 Apr 2011)
New Revision: 6306
Modified:
epp/sso/branches/1.0-epp-5.0-Branch/pom.xml
Log:
Upgrade EPP dependency
Modified: epp/sso/branches/1.0-epp-5.0-Branch/pom.xml
===================================================================
--- epp/sso/branches/1.0-epp-5.0-Branch/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
+++ epp/sso/branches/1.0-epp-5.0-Branch/pom.xml 2011-04-20 11:52:46 UTC (rev 6306)
@@ -70,7 +70,7 @@
<!-- exo -->
<org.exoplatform.core.version>2.3.5-GA</org.exoplatform.core.version>
<org.exoplatform.ws.version>2.1.5-GA</org.exoplatform.ws.version>
- <org.exoplatform.portal.version>3.1.0-GA</org.exoplatform.portal.version>
+ <org.exoplatform.portal.version>5.1.0-epp-GA</org.exoplatform.portal.version>
<!-- JAX-RS jsr-311 -->
<version.javax.ws.rs>1.0</version.javax.ws.rs>
13 years, 8 months
gatein SVN: r6305 - in components/sso/trunk: agent and 12 other directories.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:50:28 -0400 (Wed, 20 Apr 2011)
New Revision: 6305
Modified:
components/sso/trunk/agent/pom.xml
components/sso/trunk/auth-callback/pom.xml
components/sso/trunk/cas/gatein-cas-plugin/pom.xml
components/sso/trunk/cas/gatein-cas-portal/pom.xml
components/sso/trunk/cas/pom.xml
components/sso/trunk/josso/gatein-josso-plugin/pom.xml
components/sso/trunk/josso/gatein-josso-portal/pom.xml
components/sso/trunk/josso/pom.xml
components/sso/trunk/opensso/gatein-opensso-plugin/pom.xml
components/sso/trunk/opensso/gatein-opensso-portal/pom.xml
components/sso/trunk/opensso/pom.xml
components/sso/trunk/packaging/pom.xml
components/sso/trunk/pom.xml
components/sso/trunk/spnego/pom.xml
Log:
Change pom version
Modified: components/sso/trunk/agent/pom.xml
===================================================================
--- components/sso/trunk/agent/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/agent/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/trunk/auth-callback/pom.xml
===================================================================
--- components/sso/trunk/auth-callback/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/auth-callback/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/trunk/cas/gatein-cas-plugin/pom.xml
===================================================================
--- components/sso/trunk/cas/gatein-cas-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/cas/gatein-cas-plugin/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/trunk/cas/gatein-cas-portal/pom.xml
===================================================================
--- components/sso/trunk/cas/gatein-cas-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/cas/gatein-cas-portal/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-plugin</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -23,12 +23,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
Modified: components/sso/trunk/cas/pom.xml
===================================================================
--- components/sso/trunk/cas/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/cas/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<name>GateIn SSO - CAS</name>
Modified: components/sso/trunk/josso/gatein-josso-plugin/pom.xml
===================================================================
--- components/sso/trunk/josso/gatein-josso-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/josso/gatein-josso-plugin/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/trunk/josso/gatein-josso-portal/pom.xml
===================================================================
--- components/sso/trunk/josso/gatein-josso-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/josso/gatein-josso-portal/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -54,12 +54,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
@@ -74,7 +74,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-plugin</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>apache-log4j</groupId>
Modified: components/sso/trunk/josso/pom.xml
===================================================================
--- components/sso/trunk/josso/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/josso/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
Modified: components/sso/trunk/opensso/gatein-opensso-plugin/pom.xml
===================================================================
--- components/sso/trunk/opensso/gatein-opensso-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/opensso/gatein-opensso-plugin/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/trunk/opensso/gatein-opensso-portal/pom.xml
===================================================================
--- components/sso/trunk/opensso/gatein-opensso-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/opensso/gatein-opensso-portal/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-plugin</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -28,12 +28,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
</dependencies>
Modified: components/sso/trunk/opensso/pom.xml
===================================================================
--- components/sso/trunk/opensso/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/opensso/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
Modified: components/sso/trunk/packaging/pom.xml
===================================================================
--- components/sso/trunk/packaging/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/packaging/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,12 +14,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>spnego</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.security</groupId>
Modified: components/sso/trunk/pom.xml
===================================================================
--- components/sso/trunk/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -10,13 +10,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.1.0-Beta01</version>
</parent>
@@ -68,9 +68,9 @@
<!-- exo -->
- <org.exoplatform.core.version>2.3.5-GA</org.exoplatform.core.version>
- <org.exoplatform.ws.version>2.1.5-GA</org.exoplatform.ws.version>
- <org.gatein.wci.version>2.1.0-Alpha01-SNAPSHOT</org.gatein.wci.version>
+ <org.exoplatform.core.version>2.3.7-GA</org.exoplatform.core.version>
+ <org.exoplatform.ws.version>2.1.7-GA</org.exoplatform.ws.version>
+ <org.gatein.wci.version>2.1.0-Beta01</org.gatein.wci.version>
<!-- JAX-RS jsr-311 -->
<version.javax.ws.rs>1.0</version.javax.ws.rs>
Modified: components/sso/trunk/spnego/pom.xml
===================================================================
--- components/sso/trunk/spnego/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
+++ components/sso/trunk/spnego/pom.xml 2011-04-20 11:50:28 UTC (rev 6305)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.2-GA-SNAPSHOT</version>
+ <version>1.1.0-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
13 years, 8 months
gatein SVN: r6304 - in components/sso/branches/1.0-Branch: agent and 12 other directories.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:49:30 -0400 (Wed, 20 Apr 2011)
New Revision: 6304
Modified:
components/sso/branches/1.0-Branch/agent/pom.xml
components/sso/branches/1.0-Branch/auth-callback/pom.xml
components/sso/branches/1.0-Branch/cas/gatein-cas-plugin/pom.xml
components/sso/branches/1.0-Branch/cas/gatein-cas-portal/pom.xml
components/sso/branches/1.0-Branch/cas/pom.xml
components/sso/branches/1.0-Branch/josso/gatein-josso-plugin/pom.xml
components/sso/branches/1.0-Branch/josso/gatein-josso-portal/pom.xml
components/sso/branches/1.0-Branch/josso/pom.xml
components/sso/branches/1.0-Branch/opensso/gatein-opensso-plugin/pom.xml
components/sso/branches/1.0-Branch/opensso/gatein-opensso-portal/pom.xml
components/sso/branches/1.0-Branch/opensso/pom.xml
components/sso/branches/1.0-Branch/packaging/pom.xml
components/sso/branches/1.0-Branch/pom.xml
components/sso/branches/1.0-Branch/spnego/pom.xml
Log:
Changing pom version
Modified: components/sso/branches/1.0-Branch/agent/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/agent/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/agent/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0-Branch/auth-callback/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/auth-callback/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/auth-callback/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0-Branch/cas/gatein-cas-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/cas/gatein-cas-plugin/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/cas/gatein-cas-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0-Branch/cas/gatein-cas-portal/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/cas/gatein-cas-portal/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/cas/gatein-cas-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-plugin</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -23,12 +23,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
Modified: components/sso/branches/1.0-Branch/cas/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/cas/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/cas/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-cas-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<name>GateIn SSO - CAS</name>
Modified: components/sso/branches/1.0-Branch/josso/gatein-josso-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/josso/gatein-josso-plugin/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/josso/gatein-josso-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0-Branch/josso/gatein-josso-portal/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/josso/gatein-josso-portal/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/josso/gatein-josso-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -54,12 +54,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
@@ -74,7 +74,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-plugin</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>apache-log4j</groupId>
Modified: components/sso/branches/1.0-Branch/josso/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/josso/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/josso/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-josso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
Modified: components/sso/branches/1.0-Branch/opensso/gatein-opensso-plugin/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/opensso/gatein-opensso-plugin/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/opensso/gatein-opensso-plugin/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/sso/branches/1.0-Branch/opensso/gatein-opensso-portal/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/opensso/gatein-opensso-portal/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/opensso/gatein-opensso-portal/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-plugin</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
@@ -28,12 +28,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-auth-callback</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
</dependencies>
Modified: components/sso/branches/1.0-Branch/opensso/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/opensso/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/opensso/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,13 +3,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-opensso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
Modified: components/sso/branches/1.0-Branch/packaging/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/packaging/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/packaging/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -14,12 +14,12 @@
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-agent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gatein.sso</groupId>
<artifactId>spnego</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.security</groupId>
Modified: components/sso/branches/1.0-Branch/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
@@ -25,9 +25,9 @@
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/sso/tags/1.0.1-GA</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/sso/tags/1.0.1-GA</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/sso/tags/1.0.1-GA</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/sso/branches/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/sso/branches/1.0-Branch</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/sso/branches/1.0-Branch</url>
</scm>
Modified: components/sso/branches/1.0-Branch/spnego/pom.xml
===================================================================
--- components/sso/branches/1.0-Branch/spnego/pom.xml 2011-04-20 11:38:34 UTC (rev 6303)
+++ components/sso/branches/1.0-Branch/spnego/pom.xml 2011-04-20 11:49:30 UTC (rev 6304)
@@ -3,7 +3,7 @@
<groupId>org.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>1.0.1-GA</version>
+ <version>1.0.2-GA-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
13 years, 8 months
gatein SVN: r6303 - components/sso/branches/1.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:38:34 -0400 (Wed, 20 Apr 2011)
New Revision: 6303
Modified:
components/sso/branches/1.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
Log:
JBEPP-896: Character encoding incorrect with SSO enabled
Modified: components/sso/branches/1.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
===================================================================
--- components/sso/branches/1.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:35:09 UTC (rev 6302)
+++ components/sso/branches/1.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:38:34 UTC (rev 6303)
@@ -22,6 +22,7 @@
package org.gatein.sso.agent.filter;
import java.io.IOException;
+import java.io.UnsupportedEncodingException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@@ -38,6 +39,7 @@
public abstract class AbstractLogoutFilter implements Filter
{
protected String logoutUrl;
+ private static final String fileEncoding = System.getProperty("file.encoding");
public void init(FilterConfig config) throws ServletException
{
@@ -76,8 +78,13 @@
chain.doFilter(request, response);
}
- private boolean isLogoutInProgress(HttpServletRequest request)
+ private boolean isLogoutInProgress(HttpServletRequest request) throws UnsupportedEncodingException
{
+ // set character encoding before retrieving request parameters
+ if(fileEncoding!=null)
+ {
+ request.setCharacterEncoding(fileEncoding);
+ }
String action = request.getParameter("portal:action");
if (action != null && action.equals("Logout"))
13 years, 8 months
gatein SVN: r6302 - components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:35:09 -0400 (Wed, 20 Apr 2011)
New Revision: 6302
Modified:
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
Log:
JBEPP-896: Character encoding incorrect with SSO enabled
Modified: components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
===================================================================
--- components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:30:50 UTC (rev 6301)
+++ components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:35:09 UTC (rev 6302)
@@ -22,6 +22,7 @@
package org.gatein.sso.agent.filter;
import java.io.IOException;
+import java.io.UnsupportedEncodingException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@@ -38,6 +39,7 @@
public abstract class AbstractLogoutFilter implements Filter
{
protected String logoutUrl;
+ private static final String fileEncoding = System.getProperty("file.encoding");
public void init(FilterConfig config) throws ServletException
{
@@ -76,8 +78,13 @@
chain.doFilter(request, response);
}
- private boolean isLogoutInProgress(HttpServletRequest request)
+ private boolean isLogoutInProgress(HttpServletRequest request) throws UnsupportedEncodingException
{
+ // set character encoding before retrieving request parameters
+ if(fileEncoding!=null)
+ {
+ request.setCharacterEncoding(fileEncoding);
+ }
String action = request.getParameter("portal:action");
if (action != null && action.equals("Logout"))
13 years, 8 months
gatein SVN: r6301 - epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter.
by do-not-reply@jboss.org
Author: theute
Date: 2011-04-20 07:30:50 -0400 (Wed, 20 Apr 2011)
New Revision: 6301
Modified:
epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
Log:
JBEPP-896: Character encoding incorrect with SSO enabled
Modified: epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java
===================================================================
--- epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:27:07 UTC (rev 6300)
+++ epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/filter/AbstractLogoutFilter.java 2011-04-20 11:30:50 UTC (rev 6301)
@@ -22,6 +22,7 @@
package org.gatein.sso.agent.filter;
import java.io.IOException;
+import java.io.UnsupportedEncodingException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@@ -38,6 +39,7 @@
public abstract class AbstractLogoutFilter implements Filter
{
protected String logoutUrl;
+ private static final String fileEncoding = System.getProperty("file.encoding");
public void init(FilterConfig config) throws ServletException
{
@@ -76,8 +78,13 @@
chain.doFilter(request, response);
}
- private boolean isLogoutInProgress(HttpServletRequest request)
+ private boolean isLogoutInProgress(HttpServletRequest request) throws UnsupportedEncodingException
{
+ // set character encoding before retrieving request parameters
+ if(fileEncoding!=null)
+ {
+ request.setCharacterEncoding(fileEncoding);
+ }
String action = request.getParameter("portal:action");
if (action != null && action.equals("Logout"))
13 years, 8 months
gatein SVN: r6300 - epp/sso/branches/1.0-epp-5.0-Branch/agent/src/main/java/org/gatein/sso/agent/cas.
by do-not-reply@jboss.org
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);
13 years, 8 months