I am using the JavaMelody library
and I would like to restrict access to the context / monitoring.
Currently, I have added an entry in web.xml
:
<init-param>
<param-name>allowed-addr-pattern</param-name>
<param-value>(first_ip)|(second_ip)</param-value>
</init-param>
But when I call up the resource / monitoring, it receives "Forbidden access"
Is it possible to restrict access only for specific IP addresses
?