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 thinking of implementing a Valve for this requirement (instead of a
servlet filter). Is it possible
to query a database table from a valve and, if so, what is the usual
approach for doing this?

Thanks very much,

Steve
-- 
View this message in context: 
http://www.nabble.com/Accessing-a-database-from-a-Valve-tp25673641p25673641.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to