portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shins...@apache.org
Subject svn commit: r378256 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java
Date Thu, 16 Feb 2006 14:40:50 GMT
Author: shinsuke
Date: Thu Feb 16 06:40:47 2006
New Revision: 378256

URL: http://svn.apache.org/viewcvs?rev=378256&view=rev
Log:
removed a preferred locale from session to work a language selection when logging in.

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

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java?rev=378256&r1=378255&r2=378256&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LoginRedirectorServlet.java
Thu Feb 16 06:40:47 2006
@@ -23,6 +23,8 @@
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.http.HttpSession;
 
+import org.apache.jetspeed.PortalReservedParameters;
+
 /**
  * LoginRedirectorServlet
  * 
@@ -46,6 +48,7 @@
         session.removeAttribute(LoginConstants.USERNAME);
         session.removeAttribute(LoginConstants.PASSWORD);
         session.removeAttribute(LoginConstants.RETRYCOUNT);
+        session.removeAttribute(PortalReservedParameters.PREFERED_LOCALE_ATTRIBUTE);
         response.sendRedirect(response.encodeURL(destination));
     }
 



---------------------------------------------------------------------
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