Recently i had a requirement to remove SSO user from request.getRemoteUser(). I tried several ways like nulled the SSO_USER_CACHE session variable, but that all did now work.
I find a work around for this problem like using oracle logout link, but the problem here was that after logout is done, it did not return to my application's login page.
So, i finally found a solution for this :
//remove any session variables you have String l_return_url = request.getContextPath()+"/jsp/login.jsp"; response.setHeader( "Osso-Return-Url", l_return_url); response.sendError( 470, "Oracle SSO" );
Please comment if you found this useful.
Thanks,
Ujjwal Soni
Thanks,
Ujjwal Soni
No comments:
Post a Comment