JNDIRealm: "role expansion"

2004-11-18 Thread Bjarni Þór Jónsson
Hi I'm using the org.apache.catalina.realm.JNDIRealm class (included with Tomcat 5.0.28) but I required a "slightly" different behavior from the orginal class so I changed it, the question is whether my modifications are desirable for the offical code. My requirement was "role expansion", i.e. if

JNDIRealm: "role expansion" [Auf Viren geprüft]

2004-11-19 Thread Frerk . Meyer
Hi again Bjarni Þór Jónsson, I'm no friend of the standard behavior of the JNDIRealm too, but this is the standard and it should stay compatible to other J2EE Servers. The way to go is JAAS. I'm currently developing my own JAAS-JNDI-Realm. You may return your own LdapUser and LdapRole classes a