Hi Julien
first of all thanks for your quick response. I tried what you said but nothing better. I
didn't understand who intercept the signout request. I suppose that there must be a
servlet that do it or something similar but I didn't find it in the source code.
I made an attempt to resolve my problem but I didn't receive any results. I tried to
extend the class PageCustomizerInterceptor, the one that insert the logout html code in
every logged pages. In my implementation, in the method "injectDashboardNav", I
inserted the following code:
|
| SignOutCommand cmd = new SignOutCommand("portal/GFPortal/default");
| URLContext urlContext =
controllerCtx.getServerInvocation().getServerContext().getURLContext();
| String logoutURL = controllerCtx.renderURL(cmd, urlContext.asNonAuthenticated(),
null);
instead of the original code:
| SignOutCommand cmd = new SignOutCommand();
| URLContext urlContext =
controllerCtx.getServerInvocation().getServerContext().getURLContext();
| String logoutURL = controllerCtx.renderURL(cmd, urlContext.asNonAuthenticated(),
null);
the string "portal/GFPortal/default" is the page where I want to redirect when I
signout.
But even in this case nothing happens.
I hope You can help me because it is very urgent for me.
Thanks in advance,
Paolo.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033641#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...