jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes ibm_security_logout fails to redirect and returns a text MIME type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "ibm_security_logout fails to redirect and returns a text MIME type" Watch "ibm_security_logout fails to redirect and returns a text MIME type" New topic
Author

ibm_security_logout fails to redirect and returns a text MIME type

A Castaban
Greenhorn

Joined: Aug 07, 2013
Posts: 1


I have an application I am migrating from Websphere 6.1 to 8.5. It uses form based login and logs out with ibm_security_logout.

I have noticed when I log out, it does not redirect to the page I have specified at logoutExitPage parameter. Not only that, it returns a text/plain MIME as page type and I get something like this on the browser:



I tried several flavors of ibm_security_logout in my page, none works as expected:



How can I fix this?
Tomasz Bondaruk
Greenhorn

Joined: Aug 25, 2015
Posts: 1
I know it is an old question but somebody may need it for future reference:

According to the documentation: http://www-01.ibm.com/support/knowledgecenter/SSEQTJ_8.5.5/com.ibm.websphere.nd.doc/ae/tsec_pofolo.html

You just need to add following line to your code:
<input type="hidden" name="logoutExitPage" value="/yourPage.xhtml" />

I did it in my project and it works fine!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ibm_security_logout fails to redirect and returns a text MIME type
 
It's not a secret anymore!