users@glassfish.java.net

Re: Logout from multiple web application usgin Glassfish SSO

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Sat, 27 Apr 2013 19:59:53 -0700

On 4/27/13 3:10 PM, Xavier Callejas wrote:
> Hi,
>
> As I would like to have multiple Java EE web applications but just one user
> authentication proccess so I activated Single Sign On in Glassfish, now the
> user can login once and access all authorized resources across all the web
> application that use the same realm in the same virtual server, but now it
> cannot make logut effectively.
>
> I searched the web but there is no clear answer.
>
> these statements do not work after activating SSO:
>
> session.invalidate();
> ExternalContex.invalidateSession();
> HttpServletRequest.logout();
>
> What is the procedure to do use session logout using Glassfish SSO?
In GlassFish 4.0, we can do a SSO logout through
HttpServletRequest.logout().
Shing Wai Chan
>
> Thank you in advace for your advice.
>
> Xavier.