Hello,
Working on my BioSWR plugin I try to check an authorization via
HttpURLConnection.
The code looks like:
URI uri =
URI.create("http://inb.bsc.es/BioSWR/rest/service/deregister/00000000000000000000000000000000");
HttpURLConnection connection = (HttpURLConnection)
uri.toURL().openConnection();
connection.setRequestProperty ("Authorization", authorization);
connection.connect();
int code = connection.getResponseCode();
The problem (?) is that this is intercepted by Taverna credential manager.
Probably I can use Taverna's manager somehow?
Kind regards,
Dmitry
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/