Author: sohil.shah(a)jboss.com
Date: 2008-01-31 01:06:14 -0500 (Thu, 31 Jan 2008)
New Revision: 9665
Modified:
modules/identity/trunk/sso/src/main/java/org/jboss/portal/identity/sso/cas/CASAuthenticationValve.java
Log:
JBPORTAL-1848 - Portal CAS integration does not invalidate the CAS token
Modified:
modules/identity/trunk/sso/src/main/java/org/jboss/portal/identity/sso/cas/CASAuthenticationValve.java
===================================================================
---
modules/identity/trunk/sso/src/main/java/org/jboss/portal/identity/sso/cas/CASAuthenticationValve.java 2008-01-31
05:38:21 UTC (rev 9664)
+++
modules/identity/trunk/sso/src/main/java/org/jboss/portal/identity/sso/cas/CASAuthenticationValve.java 2008-01-31
06:06:14 UTC (rev 9665)
@@ -303,7 +303,8 @@
ServletException
{
HttpServletRequest httpRequest = (HttpServletRequest) request;
- HttpSession session = httpRequest.getSession();
+ HttpSession session = httpRequest.getSession();
+ request.setAttribute("ssoEnabled", "true");
String requestURI = request.getRequestURI();
if (isSecuredURI(requestURI)
@@ -359,8 +360,7 @@
//Perform a logout on the CAS SSO Session
if(request.getAttribute("org.jboss.portal.logout") != null)
- {
- System.out.println("Performing signout........");
+ {
response.sendRedirect(this.casLogout);
}
}
Show replies by date