I have found what the problem is.  The code above actually works.  You can 
signout as long as you don't redirect after.  So you can't say have someone 
signout and redirect them to the login screen.  Like this:

 public void processAction(JBossActionRequest request, JBossActionResponse 
response) throws PortletException, IOException 
  |   {
  |       response.signOut();
  |       response.sendRedirect("/portal/auth/");
  |   }

This will not work.

But this will (Don't redirect):

 public void processAction(JBossActionRequest request, JBossActionResponse 
response) throws PortletException, IOException 
  |   {
  |       response.signOut();
  |   }

Would be nice if we could redirect


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920120#3920120

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920120


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to