Hello, Since containers can only have a single realm, I would like to implement a Realm that acts like an aggregator. It could contain other realms, and delegate authenticate calls to each one, in order, and the first on that answered would provide the Principal. This should be easy to implement, but the hard part is getting a hook into the xml mapper to do the configuration.
Ideally, you would want the server.xml file to look something like this: <Realm className="com.plumbdesign.tomcat.realm.AggregateRealm"> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <Realm className="com.plumbdesign.tomcat.realm.ActiveDirectoryRealm" serverName="ad.foobar.com" domainName="foobar.com" /> </Realm> My question is, can this be done? Is there any way for a realm to add XMLActions to control the way it is deserialized from XML? Any ideas? Marc Tinkler ________________________________________________________________________ p l u m b d e s i g n marc tinkler | cto, principal 157 chambers st ny ny 10007 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>