I have to restrict the access to my application through the IP number of the client. I the normal apache webserver this is easily done through htaccess. But in tomcat there are only logins via user and password possible. What can I do to grant access through IP adress?
posted 10 years ago
Take a look at the Valve docs for Tomcat. Specifically, there is a RemoteAddrValve that uses regular expressions for the allow and deny lists.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.