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

RE: how do we build custom realms

From: Zahid Ahmed <zahid.ahmed@commerceone.com>
Date: Fri, 21 May 1999 16:04:12 -0400 (EDT)
Message-ID: <DB7662837C64D211BBA600A0C9E91ABF53E793@ip5-13.5.20.172.in-addr.arpa>
To: Yves Lafon <ylafon@w3.org>
Cc: www-jigsaw@w3.org


> -----Original Message-----
> From: Yves Lafon [mailto:ylafon@w3.org]
> Sent: Friday, May 21, 1999 12:54 PM
> To: Zahid Ahmed
> Cc: www-jigsaw@w3.org
> Subject: Re: how do we build custom realms
> 
> 
> On Fri, 21 May 1999, Zahid Ahmed wrote:
> 
> > A couple of question about realm support in
> > Jigsaw.
> > 
> > 1. Is there a recommended way to do HTTP Basic 
> > Authentication scheme to do 1) password lookups
> > via LDAP? 2) password verificatoion via LDAP?
> > 
> > 2. W.r.t. #1, how can we build a custom realm that can 
> > extend the authrealm and be configured programmatically
> > in the httpd during initialization? I want to configure
> > the custom realm via a different admin api than provided
> > by Jigsaw Admin. Looking at the realm and auth filter
> > apis, it seems that this is possible since all the
> > auth filter returns is a true/false or an ProtocolException
> > for authenticate().
> 
> With the latest developpement versions (see the cvs tree 
> directly for the
> sources), a new way of doing authentication is to use the new acl API.
> See org.w3c.jigsaw.acl package taken from the cvs server.
> http://dev.w3.org/cgi-bin/cvsweb/java/classes/org/w3c/jigsaw/acl/
> AclRealm should be the entry point for your need.
> More to come for the documentation on the setup of this.
> Regards,

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.

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?

thnx.




> 
>       /\          - 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:05:31 GMT

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