If you use the spring security grails plugin for your authentication, just define this plugin in your base sub-plugin, for example:
grails.project.dependency.resolution = {
[..]
plugins {
compile ":spring-security-core:1.1.3"
compile ":spring-security-ui:0.1.2"
}
}
, , springSecurityService ( application.properties).