Use Grails plugin spring-security-core for authentication
I tried to replace my custom User
class with Grails’
spring-security-core
plugin. It includes roles to deal with authorization aspects.
I followed the steps in the documentation for both spring-security-core spring-security-ui plugins. I created the artifacts with:
$ grails s2-quickstart grails_mysql User Role
But the Grails bootstrap gets a NullPointerException
as it tries to setup
dependency injection.