Author: kstam
Date: Mon Aug 29 17:32:03 2011
New Revision: 1162910

URL: http://svn.apache.org/viewvc?rev=1162910&view=rev
Log:
JUDDI-297 invalidate the session, and read the redirect address from the 
querystring

Modified:
    juddi/trunk/juddi-console/uddi-portlets/src/main/webapp/logout.jsp

Modified: juddi/trunk/juddi-console/uddi-portlets/src/main/webapp/logout.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-console/uddi-portlets/src/main/webapp/logout.jsp?rev=1162910&r1=1162909&r2=1162910&view=diff
==============================================================================
--- juddi/trunk/juddi-console/uddi-portlets/src/main/webapp/logout.jsp 
(original)
+++ juddi/trunk/juddi-console/uddi-portlets/src/main/webapp/logout.jsp Mon Aug 
29 17:32:03 2011
@@ -40,8 +40,11 @@
        DiscardAuthToken discardAuthToken = new DiscardAuthToken();
        discardAuthToken.setAuthInfo(token);
        securityService.discardAuthToken(discardAuthToken);
+       session.invalidate();
     }
-    response.sendRedirect("/pluto/Logout");
+    String redirectURL = (String) request.getParameter("urlredirect");
+    if (redirectURL==null) redirectURL = "/pluto/Logout";
+    response.sendRedirect(redirectURL);
     %>
   </body>
   



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to