SSO integration not working with Struts
451333Jul 5 2006 — edited Aug 1 2006Hi..
Below is the scenario how we deployed our applicaiton.
Ours is Struts Application and we have deployed our applicaiton (Inneed) in cluster environment where
itech-demo02.idc.oracle.com and
itech-demo12.idc.oracle.com
are the servers in which Inneed will be deployed and running. And we have
itech-demo06.idc.oracle.com
which will act as Load Balancer ( Web Cache ). So, itech-demo06 will push the request to either itech-demo02 or itech-demo12 depending upon the load and availabilty.
So, given this situation, We have requestted partner link for itech-demo06 machine and we have configured for mod-osso ( creation of osso.conf file and editing mod_osso.conf file) on itech-demo02 and itech-demo12.
Now, When we are testing with individual servlet (normal one with HttpServletRequest, HttpServletResponse as parameters) , its working fine and when invoking
response.sendError(499, "Oracle SSO");
in servlet , we are redirecting to SSO login page and after authenticating, control is again coming to our servlet proceeding normally (We are able to get request.getRemoteUser()). But, when i am using Struts framework, and writing my code in Action Class(one with parameters ActionMapping, ActionForm,HttpServletRequest , HttpServletResponse), i am able to redirect to SSO login page, but after authenticating, control is not coming back to my Action class. Its giving me the following error:
Oracle SSO Failure - Unable to process request. Either the requested URL was not specified in terms of a fully-qualified host name or OHS single sign-on is incorrectly configured.Please notify your administrator.
Can you please help me on this? Pls clarify on whether SSO integration code will not work only on Struts and if yes, what should i do to make it work correctly.
Thanks for your help in advance.
Regards:
Veeraswami K