I am trying to do authentication from header. The idea is to get user name from ASP page as HEADER and in webscript write logic to redirect to Share Noderef.
If you want Alfresco to use REMOTE_USER variable to authenticate user, you have to use External Authentication Subsystem. To do that, you have to add something like [id]:external (id can be anything you want) in your authentication chain.
Your authentication could be for example : authentication.chain=external1:external,ldap-ad1:ldap-ad
Now i am able to make call from header addition from chrome extension.
But , Now i as stuck at " How can i add HTTP header from / in Webscript in Javascript webscript"
can you please tell me how to add HTTP header in webscript alfresco.?
Actually i know i can setup CAS authentication but it 'll take time and also one time login of user , If i can set header from within webscript( Javascript or Java) thenit would be easy.