RE: Basic Authentication!

A little bit complicated, but works perfectly!

Wolfgang


> 
> HttpCredential credential;
> Base64Encoder  encoder;
> 	credential = HttpFactory.makeCredential("Basic");
> 	encoder = new Base64Encoder(username+":"+password);
> 	credential.setAuthParameter("cookie", encoder.processString());
> 
>         request.setAuthorization(credential);

Received on Thursday, 28 January 1999 08:48:28 UTC