dmahapatro / grails-actuator-ui

UI representation of Spring Boot Actuator in a Grails 3 app
Apache License 2.0
36 stars 14 forks source link

Spring security requires different url to be enabled #12

Open kuceram opened 6 years ago

kuceram commented 6 years ago

For some reason Spring Security requires this pattern /actuator:actuatordashboard/** to be enabled for an admin role. I found out by enabling logging for spring security:

2018-04-18 09:03:22,272 TRACE grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition - Requested url: /actuator/dashboard
2018-04-18 09:03:22,273 TRACE grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition - Resolved full controller name for controller "actuatorDashboard" and namespace "actuator" as "actuator:actuatorDashboard"
2018-04-18 09:03:22,273 TRACE grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition - Final url is /actuator:actuatordashboard/index