users@glassfish.java.net

RE: Logout from multiple web application usgin Glassfish SSO

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sun, 28 Apr 2013 08:57:37 -0400

Buenas Xavier

so you use SSO authenticator token to log into multiple Servlets but now you cannot logout?
the first step is to close all of the servlets you have logged into

https://forums.oracle.com/forums/thread.jspa?threadID=371543

then you will need to apprise SSO where to go back to after SSO logout ..assume you have this URL host:port/pls/orasso/orasso.wwsso_app_admin.ls_logout?p_done_url=/return_url String p_done_url = request.getParameter(p_done_url); // then Set return URL for Post logout
        response.setHeader("Osso-Return-Url", p_done_url);
        // Send Dynamic Directive for logout
        response.sendError(470, "Oracle SSO");
 
Saludos Cordiales desde EEUU!
Martin______________________________________________
Porfavor no altere ni interrumpir esta communicacion..Gracias> From: xavier_at_sistemasaereos.com.sv
> To: users_at_glassfish.java.net; shing.wai.chan_at_oracle.com
> Subject: Re: Logout from multiple web application usgin Glassfish SSO
> Date: Sat, 27 Apr 2013 23:53:23 -0600
>
>
> Shing,
>
> I am using Glassfish 3.1.2.2, is there any way to logout in this version?
>
>
> El Sáb 27 Abr 2013 19:59:53 Shing Wai Chan escribió:
> > In GlassFish 4.0, we can do a SSO logout through
> > HttpServletRequest.logout().
> > Shing Wai Chan