title: Spring security multiple hasIPAddress antMatchers
body: <p>I have the following spring security configuration snippet:</p>
  
  <pre><code>http
     .authorizeRequests()
     .antMatchers("/tokens").hasIpAddress("10.0.0.0/16")
     ....
  </code></pre>
  
  <p>This works, but I would also like to grant access to <code>"/tokens"</code> from <code>127.0.0.1</code>. I was hoping something along the lines of the following would work, but it doesn't:</p>
  
  <pre><code>http
     .authorizeRequests()
     .antMatchers("/tokens").hasIpAddress("10.0.0.0/16").hasIpAddress("127.0.0.1/32")
     ....
  </code></pre>