RE: how do we build custom realms

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