Hello all ! I'm currently developping a web application under tomcat, and I've a question for you all. Like a lot of us, I had to develop jsp pages which permits the remote user to manage user accounts that can use the application... I'm facing a little design problem : Tomcat realms (and jsp/servlet specification) permit to Authenticate a user, not change its configuration... No problem with that, but when it comes to develop the jsp that I did, you have to access the same Realm repository (JDBC/ Memory / LDAP) that the one used in Authentication.
My current implementation force me to define JNDI resources that are clones of realm entries defined in server.xml, which I dislike (if you change something in realm configuration, don't forget to change it in Realm Write Access properties) My Question: How to get the Realm configuration used in the current application Context / Container ??? I looked into JNDI Resource HOW-TO, but I see nothing to get server.xml configuration ... Please, help ! Fabien Nisol
