splix/grails-spring-security-twitter — Issue #3: Core Spring Security username appears incorrect
Author: leopoldodonnell
Created: 2011-10-20 20:03:25+00:00
State: open

The following snippet in layouts/main.gsp

Welcome back

produces:

Welcome back com.mycompany.myproject.User: 1

where: grails.plugins.springsecurity.userLookup.userDomainClassName = 'com.mycompany.myproject.User'

I would have expected the tag to return the same value as username from the User class as it would in the default core implementation.

I can't see where this might be assigned incorrectly from a quick review of the plugin source.

Note I am using Grails 2.0.0.M2 - its unlikely the problem, but who knows.