Author: bdaw
Date: 2011-09-29 16:48:11 -0400 (Thu, 29 Sep 2011)
New Revision: 7564
Modified:
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/CASLogoutFilter.java
Log:
GTNPORTAL-1908 NPE when request to portal which configured to use SSO integration
GTNPORTAL-1763 can't logout after authentication with CAS server
Modified:
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/CASLogoutFilter.java
===================================================================
---
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/CASLogoutFilter.java 2011-09-29
20:40:13 UTC (rev 7563)
+++
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/filter/CASLogoutFilter.java 2011-09-29
20:48:11 UTC (rev 7564)
@@ -65,6 +65,8 @@
String redirectUrl =
this.logoutUrl+"?url="+httpRequest.getRequestURL()+"?"+parameters;
+ httpRequest.getSession().invalidate();
+
return redirectUrl;
}
catch(Exception e)
Show replies by date