I have the following spring security configuration snippet:
http .authorizeRequests() .antMatchers("/tokens").hasIpAddress("10.0.0.0/16") ....
This works, but I would also like to provide access to "/tokens" from 127.0.0.1 . I was hoping something like the following would work, but it is not:
http .authorizeRequests() .antMatchers("/tokens").hasIpAddress("10.0.0.0/16").hasIpAddress("127.0.0.1/32") ....
Marcf source share