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

RE: Basic Authentication!

From: Wolfgang Platzer <Wolfgang.Platzer@iaik.tu-graz.ac.at>
Date: Thu, 28 Jan 1999 14:47:47 +0100
To: "Yves Lafon" <ylafon@w3.org>
Cc: "Jigsaw Mailinglist" <www-jigsaw@w3.org>
Message-ID: <004b01be4ac4$ca078b10$1cea1b81@kopernikus.iaik.tu-graz.ac.at>
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 GMT

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