RE: Accessing a database from a Valve

2009-09-30 Thread shetc
The person paying me :-) I suggested a filter but he prefers a valve even though it ties that functionality to Tomcat. -- View this message in context: http://www.nabble.com/Accessing-a-database-from-a-Valve-tp25673641p25685437.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Accessing a database from a Valve

2009-09-30 Thread shetc
Thanks for the pointers. That was my original plan but I have been required to try and do this with a Valve. The caching is good but I still have to read from a database to periodically up the list of IP addresses. -- View this message in context: http://www.nabble.com/Accessing-a-database-from-

Re: Accessing a database from a Valve

2009-09-29 Thread shetc
Thanks Martin! -- View this message in context: http://www.nabble.com/Accessing-a-database-from-a-Valve-tp25673641p25673745.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-u

Re: Accessing a database from a Valve

2009-09-29 Thread shetc
Ah, just spotted the JDBCAccessLogValve class. I guess that will clue me in :-) -- View this message in context: http://www.nabble.com/Accessing-a-database-from-a-Valve-tp25673641p25673723.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Accessing a database from a Valve

2009-09-29 Thread shetc
Hi All, I have a requirement in which access to a web application will be controlled by a 'black list' of IP addresses. That is, access will be refused if the requesting IP address is contained within the black list. This list is to be maintained within a relational database table. I was thinkin