tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Re: JaasRealm / LdapRealm
Date Tue, 27 Mar 2001 09:26:33 GMT
Hi,

I came across a JAAS Realm implementation done for cataline by 

 * @author <a href="mailto:kdowney@amberarcher.com">Kyle F. Downey</a>

Can't remember how I found it but I think it was from ML (probably
tomcat-dev.

I have a JAAS implementation which has been made outside Tomcat and I'm
looking at making it fit into 3.x.  However, I received a reply from
Costin in the dev list who said all you need to do is implement
authenticate() and authorise() hooks in Realm class.  As Servlet API
does not support JAAS or allow for more than a single Principal it looks
like the approach has to be along the lines taken by K.F.D above.  i.e.
wrap a JAAS Subject in a Principal class.

Rgds
-- 
Antony Bowesman
Teamware Group 
adb@teamware.com
tel: +358 9 5128 2562
fax: +358 9 5128 2705


Torgeir Veimo wrote:
> 
> I tried to find info on any possible implementation of one of these in
> the ML archive, but didn't find anything except a pointer to Interceptor
> sources from a wrox book example.
> 
> Are there anyone currently working on this?
> 
> --
> - Torgeir

Mime
View raw message