[Dev] Http Servlet forwarding issue

2015-11-23 Thread Godwin Shrimal
Hi, I am trying to forward the servlet request from *samlsso* servlet to *commonauth* and getting following error in browser. *HTTP Status 405 - HTTP method GET is not supported by this URL* Note : Both servlets are registered from OSGI Service component and has implemented doGet and doPost

Re: [Dev] Http Servlet forwarding issue

2015-11-23 Thread Godwin Shrimal
Hi Harsha, As you told, samlsso and commonauth is in separate web context and tomcat block access across the context by default. But we can enable crossContext in context.xml. In our carbon products crossContext is enabled by default. Thanks Godwin On Mon, Nov 23, 2015 at 11:29 PM, Harsha

Re: [Dev] Http Servlet forwarding issue

2015-11-23 Thread Harsha Thirimanna
I think, both samlsso and commonauth behave as separate web context. If that is true then the tomcat by default block to access across the context . to allow that we have to enable it in tomcat level. I don't think we can do it in here. AFAIK Only think you can do is redirecting. On Nov 23, 2015