Customizing new Grails Spring Security Core Plugin login page

grails, grails-plugin, spring-security

Solution

They're in the plugin itself, so it depends on where your plugins get installed. In 2.3 they'll be under `target/work/plugins`, and in earlier versions they'll be in the `.grails` folder which is in your home directory, so it'll be something like `$HOME/.grails/2.x.x/projects/<projectname>/plugins`

I like to keep things simple by deleting the `grails.project.class.dir`, `grails.project.test.class.dir`, and `grails.project.test.reports.dir` settings from `BuildConfig.groovy` and adding just

grails.project.work.dir = 'target'

so everything is in one place.

Problem

I installed Grails Spring Security Core Plugin and it works great, but I can't find the gsp file for the login page. I want to change the login page to match my web theme. Anyone knows how to find the file ? I tried generate-views and also generate-all followed by User, UserRole, and Role domain classes but I didn't see the actual files. Also I can't find the login and logout controllers for the spring security core plugin in my project directories. Any idea what's going on ?

Original source