diuis edited a comment on issue #3: Accepted hosts starts with match
URL: https://github.com/apache/geronimo-metrics/pull/3#issuecomment-591921769
 
 
   Hi @rmannibucau,
   I don't know how to disable the security validator, but I like that the 
/metrics api is protected end not exposed to everyone.
   What do you think if the acceptedhosts parameter value is something like an 
ip range?
   For example, we could accept a string as [10.10.10.0..10.10.10.255] and 
write a range validator like this one:
   
   [code](https://gist.github.com/diuis/373c6630a115ed0a514679efecf4b41a)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to