jonsequitur / Its.Log

Get information out of your code at runtime to send it to log files, perf counters, consoles, services, sensors. Maximum flexibility and maintainability, minimum code.
Other
13 stars 10 forks source link

Monitoring MapSensorRoutes Auth Configuration doesnt fully apply to sensors root #23

Closed PhillipPruett closed 7 years ago

PhillipPruett commented 8 years ago

setting the authorizeRequest parameter as follows will result in routes like '/sensors/version' not requiring auth, but will cause the route '/sensors' to still require auth.

httpConfiguration.MapSensorRoutes(authorizeRequest: ctx => true);

expected is that setting the the parameter like above would also apply to the '/sensors' route