[Biojava-l] http proxy
Schreiber, Mark
mark.schreiber at agresearch.co.nz
Thu Sep 18 13:08:29 EDT 2003
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:td2 at sanger.ac.uk]
Sent: Thu 18/09/2003 9:04 p.m.
To: wux at mail.cbi.pku.edu.cn
Cc: biojava-l at biojava.org
Subject: Re: [Biojava-l] http proxy
On Thu, Sep 18, 2003 at 04:45:06PM +0800, wux at mail.cbi.pku.edu.cn 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 - Biojava-l at biojava.org
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.
=======================================================================
More information about the Biojava-l
mailing list