I am creating my first Grails app and am using the spring-security-core and spring-security-ui. I have locked down controllers that I have created in my application but there is a gaping hole left in the fact that any unauthenticated user can hit the spring-security-ui controllers. What is the proper way to limit access to those controllers to specific roles?
I am considering running s2ui-override on each of those controllers and then implementing secured annotations at the class level. Is this a sound approach?
I generally use annotations for application controllers and static rules in
Config.groovyfor the controllers provided by plugins like spring-security and spring-security-ui: