Hi - Unfortunately setting those parameters doesn't work for authenticating firewalls that require usernames and passwords. There needs to be a way to provide a Proxy to biofetch (or at least an input stream). - Mark
-----Original Message----- From: Thomas Down [mailto:[EMAIL PROTECTED] Sent: Thu 18/09/2003 9:04 p.m. To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Biojava-l] http proxy On Thu, Sep 18, 2003 at 04:45:06PM +0800, [EMAIL PROTECTED] wrote: > Dear all: > > There is a problem in biojava when using biofetch behind a firewall. There is no way > to get the httpURLconnection object and set the http proxy. I think there are two solutions: > 1. Modify biofetch of the OBDA proctocol, add proxyHost, proxyPort, Login, password > to the tag-value pairs. > 2. Hard code to the BioFetchSequenceDBProvider and BioFetchSequenceDB with http proxy > and let user set it. One other option: in Java, it's possible to set up proxies on a per-application basis by setting some system properties, e.g.: java -Dhttp.proxyHost=gate.derkholm.net -Dhttp.proxyPort=8088 MyApp Or put these in a system properties file. Other than that... yes, adding explicit proxy support to OBDA sounds like it might be a good idea. But if so, I think it should be done as part of the OBDA spec (option 1) rather than a unilateral BioJava feature. Thomas. _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ======================================================================= _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l