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

Re: Creating protected directory for specific users

From: BRAX JACQUES HOLDING <JACQUES.BRAX@USINOR.COM>
Date: Mon, 28 Feb 2000 05:38:07 -0500 (EST)
Message-id: <200002281037.1ZHt@mail.sollac.fr>
To: Taghreed.AlMarzooq@Halliburton.com, www-jigsaw@w3.org
--- Reçu de       HD.BRAX 01 41 25 50 84                    28-02-00 11.37

Following steps described in documentation works :
create a realm, users in that realm ( and perhaps having
users belonging to groups - it's easier to manage ).
You'd perhaps better gives a password to users ( I never
tried without ).
Then, if you've got a 'protected' directory at the root
( take care with uppercase, lowercase, depending on the configuration
of Jigsaw ), you'll create a directory - it's propertie depending on
what's your putting into.
If your crating a servlet directory, then, during creation, it's
attribute is ...resources.DirectoryResource
Frame used is therefore a ServletDirectoryFrame
( have a look at the servlet directory ).
Then, add a resource to ServletDirectoryFrame, witch name
is GenericAuthFilter, with it's realm ( choose the right one ),
 and a list of users and/or group.
Put your servlet into that directory, reindex it and check
that they are known by Jigsaw.
Do forget to commit at every step; save it; it should work.

Hope this help - Regards - j brax

---- 28-02-00 11.37 ---- Envoyé à      ------------------------------------
  -> IN:Taghreed.AlMarzooq(a)Halliburton.com
  -> IN:www-jigsaw(a)w3.org
Received on Monday, 28 February 2000 05:40:06 GMT

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