portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r771393 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java
Date Mon, 04 May 2009 18:44:32 GMT
Author: rwatler
Date: Mon May  4 18:44:32 2009
New Revision: 771393

URL: http://svn.apache.org/viewvc?rev=771393&view=rev
Log:
JS2-984: correct login functionality when LoginProxyServlet and PortalFilter used, (i.e. WAS
development configuration)

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java?rev=771393&r1=771392&r2=771393&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/login/LoginProxyServlet.java
Mon May  4 18:44:32 2009
@@ -97,9 +97,10 @@
                     decoratorName);
         }
 
+        Boolean portalFiltered = Boolean.valueOf((String)request.getAttribute(PortalReservedParameters.PORTAL_FILTER_ATTRIBUTE));
         PortalAuthenticationConfiguration authenticationConfiguration = (PortalAuthenticationConfiguration)
         Jetspeed.getComponentManager().getComponent("org.apache.jetspeed.administration.PortalAuthenticationConfiguration");
  
-        if (authenticationConfiguration.isCreateNewSessionOnLogin())
+        if (!portalFiltered && authenticationConfiguration.isCreateNewSessionOnLogin())
         {
     
             ActiveAuthenticationIdentityProvider identityProvider = (ActiveAuthenticationIdentityProvider)




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message