users@jax-rpc.java.net

Re: Authentication through a Proxy Server

From: Yaping Xu <yaxu1998_at_YAHOO.COM>
Date: Fri, 05 Apr 2002 17:40:30 -0800

Hi:

You can definitely pass authentication proxy via JSSE,
but not JAX-RPC, becasue the APIs don't let you access
the URL connection object where you normally pass the
user name and password.

I joined the JAX-RPC chat room last Tuesday, and the
answer from to the issue is as follows:

---------
Rahul Sharma (lead architect/implementor)
yxu: In JAX-RPC RI EA2 release, we donot support
firewall proxy level authentication.
We would consider adding support for it in a future
version. However, JAX-RPC
1.0 does support HTTP Basic Authentication. We are
considering adding
support for HTTP/S Mutual Authentication for JAX-RPC
web services
as part of the J2EE 1.4 platform.
-------

FYI:

Apache's SOAP package has implemented this feature
where you can use
SOAPHTTOConnection.setProxyUsername/password.


Hope this helps.

Regards,

Yaping


--- Arun Gupta <arun.gupta_at_SUN.COM> wrote:
> Hi Datta,
>
> Try developing a simple application as:
>
> java.net.URL url = new
> URL("http://java.sun.com/xml/jaxrpc/index.html");
> java.net.URLConnection conn = url.getConnection();
> System.out.println(conn.getContentType());
>
> And then pass proxy properties to this application.
> If this application
> does not work, then you know that you are not
> setting the properties
> correctly.
>
> Also, -Dhttp.proxyUser and -Dhttp.proxyPassword are
> not standard
> properties. You can refer to
>
http://figjam.aus.sun.com/jdk1.4/docs/guide/net/properties.html
> for the
> complete list of networking properties.
>
> Thanks for your interest in JAX-RPC.
>
> Regards,
> -Arun
>
> S Datta wrote:
>
> > Hi,
> >
> > My client is behind a proxy server which requires
> a UserId/Password for authentication. Even though I
> have set up the following properties, it does not
> work:
> >
> > -Dhttp.proxySet=true -Dhttp.proxyHost=<host name>
> -Dhttp.proxyPort=<Port Number>
> -Dhttp.proxyUser=<UserId>
> -Dhttp.proxyPassword=<Password>
> >
> > Am I missing something?
> >
> > Regards,
> > S Datta
> >
>
>
> --
> =============================================
> There is only one me, I must live myself!
> There is only one today, I must live itself!
> =============================================
> http://members.tripod.com/~apgupta/index.html
> =============================================


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/