Basic Authentication!

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 UTC