On Fri, 25 Jan 2013, Gil Victor Teixeira Pinto wrote:

Hi Scott!
It's true, I can't do that.
:(

I tried to remove the cookie, but the SingleSignOutFilter does not continue
the filterChain:

                   ...
         Cookie ltpaCookie = new Cookie( cookieName, "" );
         ltpaCookie.setDomain( cookieDomain );
         ltpaCookie.setPath( cookiePath );
         ltpaCookie.setComment( "EXPIRING COOKIE at " +
System.currentTimeMillis() );
         ( (HttpServletResponse) servletResponse ).setContentType(
"text/html" );
         ( (HttpServletResponse) servletResponse ).addCookie( ltpaCookie );

         *// filterChain.doFilter( servletRequest, servletResponse );
there isn't filter chain to continue.*
         ...

So, without a response to the browser there no way to remove the cookie...

Since cookies only exist in web browsers, that makes sense to me.  :)

It sounds to me like what you actually want to do is destroy the user's application session.

        Andy

--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to