W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1999

Basic Authentication!

From: Wolfgang Platzer <Wolfgang.Platzer@iaik.tu-graz.ac.at>
Date: Thu, 28 Jan 1999 14:06:08 +0100
To: "Jigsaw Mailinglist" <www-jigsaw@w3.org>
Message-ID: <004801be4abe$f8880ce0$1cea1b81@kopernikus.iaik.tu-graz.ac.at>

I am using the Jigsaw client API like this:

 HttpManager     manager = HttpManager.getManager() ;
 Request request = manager.createRequest() ;
 request.setMethod(HTTP.GET) ;
 request.setURL(new URL("http://www.w3.org/pub/WWW/"));
 Reply    reply = manager.runRequest(request) ;
 // Get the reply input stream that contains the actual data:
 InputStream in = reply.getInputStream() ;
 ...

Can anyone tell me how I can specify a username/password for accessing
protected resources?

Regards

Wolfgang




Received on Thursday, 28 January 1999 08:06:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:28 GMT