tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Chong <>
Subject Auth-constraint with Tomcat 6
Date Wed, 24 Jun 2009 06:57:13 GMT
Hi tomcat users,

I am using Tomcat 6.0.20 and have successfully implemented a lockout
realm with nested JDBCRealm and JNDIRealm. The security constraint has
also been setup in my application WEB-INF/web.xml file:

      <!-- Anyone with one of the listed roles may access this area -->

User is now authenticated via JDBCRealm followed by JNDIRealm and
would be able to access protected pages with any role.

The question I have is how can I deny a group of users with a
particular role to all protected pages even if they can provide
correct combination of username/password?

Would it also be possible to change the behavior of the
combinedRealm/LockoutRealm such that if username is found in prior
realm and password is incorrect, then it skips the other realms? It
only look into the other realms if username is not found in prior

Please advise. Appreciate it!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message