On 19/03/2012 11:02, Alan R Williams wrote:
My goal is to use a workflow as a web-service. My workflow takes several inputs (file and/or value), and contains REST service that need authentication. I just try the command-line tool of the 2.4 locally installed using the cmdir parameter and it work well. But how external user can specify their login and password to authenticate to the REST service ?That will be part of the Taverna 2.3 server API. Donal Fellows is writing up the documentation of that. Meanwhile, Robert Haines should be able to give you details.
This will indeed be done in the 2.3 server API. (It's there and working; we're just in the stages of finishing off things like docs and supporting material.) Basically, the way it works will be that you tell the server to use a particular username and password when a particular run accesses a particular service. You'll need to specify it for _each_ run where you want to use an authenticated service (we deliberately don't keep the information around on the server) and you'll also need to use the right service identifier. The credential manager in the workbench will tell you the right thing to use there. Donal.
<<attachment: donal_k_fellows.vcf>>
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
