Author: anil.saldhana(a)jboss.com
Date: 2010-09-17 12:34:44 -0400 (Fri, 17 Sep 2010)
New Revision: 401
Modified:
federation/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/PagesSupportingExternalAuthentication.java
Log:
PLFED-98: missing query param
Modified:
federation/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/PagesSupportingExternalAuthentication.java
===================================================================
---
federation/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/PagesSupportingExternalAuthentication.java 2010-09-17
16:25:11 UTC (rev 400)
+++
federation/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/PagesSupportingExternalAuthentication.java 2010-09-17
16:34:44 UTC (rev 401)
@@ -63,6 +63,11 @@
.getRequest();
StringBuffer returnUrl = httpRequest.getRequestURL();
+
+ //PLFED-98: missing query parameters
+ String queryString = httpRequest.getQueryString();
+ if( queryString != null && queryString.length() > 0 )
+ returnUrl.append( "?" ).append( queryString );
ExternalAuthenticator externalAuthenticator = (ExternalAuthenticator) Component
.getInstance(ExternalAuthenticator.class);