Help: auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
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: * User is now authenticated via JDBCRealm followed by JNDIRealm and

Help: auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
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: * User is now authenticated via JDBCRealm followed by JNDIRealm and

Auth-constraint with Tomcat 6

2009-06-23 Thread Clement Chong
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: * User is now authenticated via JDBCRealm followed by JNDIRealm and

Re: Help: auth-constraint with Tomcat 6

2009-06-24 Thread Clement Chong
gt; (Google for more details on for more help on that) > > -Tim > > > Clement Chong wrote: > >> Hi tomcat users, >> >> I am using Tomcat 6.0.20 and have successfully implemented a lockout realm >> with nested JDBCRealm and JNDIRealm. The sec

Re: Help: auth-constraint with Tomcat 6

2009-06-24 Thread Clement Chong
erInRole("blacklist")) { >response.sendError(403); > return; > } > chain.doFilter(...); > } > > > > -Tim > > > Clement Chong wrote: > >> Hi Tim, >> >> Basically the first realm contains list of users we want to deny acce