cancel
Showing results for 
Search instead for 
Did you mean: 

Passing login ticket to HTTP POST webscript

ganmaku
Champ on-the-rise
Champ on-the-rise
Dear Team,

I am using Alfresco Share 3.3.1 Enterprise edition.

I am trying to invoke the webscript (whose HTTP type is "POST") present in "Data Dictionary–>Web Scripts Extension" from Share application.

It's working fine but it asks me everything login information when request moves from Share application to Data webscript.

Please tell me how can I pass login ticket via code to the POST webscript?

Thanks in advance.
1 REPLY 1

mikeh
Star Contributor
Star Contributor
Look how we do this in Share: there's a proxy servlet at share/proxy which uses configured endpoints. In this case you'd use /share/proxy/alfresco which would proxy the authentication through to /alfresco/service

Thanks,
Mike