W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1998

Re: authentication

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 26 May 1998 16:01:57 -0400
Message-Id: <>
To: Matt Bohnsack <bohnsack@eai.com>, www-lib@w3.org
At 12:15 5/26/98 -0500, Matt Bohnsack wrote:
>Hello, I am trying to create a web client that stores basic authentication
>information for each realm it visits.  When I run the following chuck of

>The '(RETURN for [user1])' seems to say that user/password for realm host1
>is being stored somewhere.


>How do I make the client send the user/password pair previously entered
>for realm host1?  It is possible to do this for as many realms as the 
>client visits?  thanks - matt

Yes, it is - all authentication information for a host:port is stored in
what I call a URI tree - it's a tree like structure that can be searched in
some rather simple ways.

You can have as many URI trees as you like. You can find the basic
authentication code in


The client interactions are implemented as filters - one before and one
after filter, you can find the code described in


The filters are registered when you create a profile or you can register
themselves if you want to do your own profile of libwww. There can of
course be as many filters as you like as well, see


for the existing set and


for how to register them.

Henrik Frystyk Nielsen,
World Wide Web Consortium
Received on Tuesday, 26 May 1998 16:02:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC