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 Thirimanna <[email protected]>
wrote:

> 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 7:23 PM, "Godwin Shrimal" <[email protected]> wrote:
>
>> 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 methods in both servlets. Its working properly
>> when we use *response.sendRedirect*.
>>
>> What can be the reason for this ?
>>
>> Thanks
>> Godwin
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to