But you need to fetch the current users credentials first? Either by user being logged into a domain, and you can use the Kerberos ticket, or use an external authentication mechanism. What you can do is to use a ticket, to fetch the ticket you still need to supply credentials. Have a look at this page http://wiki.alfresco.com/wiki/Web_Scripts, search for alf_ticket.