W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

RE: how do we build custom realms

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 21 May 1999 22:45:31 +0200 (MET DST)
To: Zahid Ahmed <zahid.ahmed@commerceone.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.10.9905212242050.28833-100000@tarantula.inria.fr>
On Fri, 21 May 1999, Zahid Ahmed wrote:

> AclRealm seems to initialize AuthRealm in acquireRealm(). 
> Should I override that? if I extend AclRealm, how do we
> make sure httpd uses it? Using AuthRealm is not an option.

AclRealm is just an example, your class should extend JAcl, AclRealm is
the example which is using Jigsaw's Auth realm. It is up to you to have
the realm taken from a database or via LDAP.

> I want to initialize a custom realm that is not administered
> by Jigsaw Admin. How do I load such a realm?
> What is the process model for calling up AclFilter.authenticate(req, acl)?
> Would we need to extend this?

No, in the configuration, the filter will be AclFilter then you must
attache your JAcl frame to it
(see lookup in AclFilter)
Hope this clarifies the thing!

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Friday, 21 May 1999 16:45:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:34 UTC