alvarosanchez/grails-spring-security-rest — pull request #43 by Alotor (2014-03-03 19:42:49+00:00)
Title: Configurable JSON login

Hi,

First, I've changed the dependencies inside BuildConfig.groovy because you don't need to import 'spock' on Grails 2.3.x

Also, with this change you can use the properties:

grails.plugin.springsecurity.rest.token.json.usernamePropertyName
grails.plugin.springsecurity.rest.token.json.usernamePropertyName

To configure the JSON received to generate el token.