But i need solution for dynamic filtering. I need to filter IP which are thr in database on the fly since dtatabase will be updated by client. I attached file.
LogConnectionFilter.java.zip 1.8 KB
Tomcat embedded Web Server, hasn't got this feature. However you can emulate Weblogic feature by creating a Servlet Filter which, in the doFilter method, grabs the request IP (req.getRemoteAddr() ) and verify if the user has got permissions on the DB.
hope it helps,