Via the spec - you can't query all the roles a user has. But you can say request.isUserInRole(rolename)

If you *need* access to the realm, things start to get ugly. You need to start coding against Tomcat internal specific classes.

-Tim

maux wrote:
Hi, I am doing a Java code. This code have to access to the realm that an application in Tomcat is using, after that the code have to access to that realm and look for the roles that exist in that database.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to