title: How can I restrict access to certain URLs by source IP in Tomcat?
body: <p>I want to restrict access to certain URLs in my Tomcat webapp. 
  Only 3 known IP addresses should be allowed access to URLs that fit a certain pattern.</p>
  
  <p>e.g. <code>http://example.com:1234/abc/personId</code></p>
  
  <p>How can I achieve this?</p>