Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullname not getting populated #5

Open
brianbyers opened this issue Mar 19, 2013 · 0 comments
Open

Fullname not getting populated #5

brianbyers opened this issue Mar 19, 2013 · 0 comments

Comments

@brianbyers
Copy link

In SpringSecurityMockGrailsPlugin.groovy, I noticed that fullName was not getting set. Current code is:

fullName conf.mock.fullName

New code should be:

fullName = conf.mock.fullName

Here's the excerpt with the unfixed code

// mock user details service
userDetailsService(MockUserDetailsService) {
// Load LDAP if configured
if (conf.ldap.active && conf.ldap.authorities.retrieveGroupRoles && conf.ldap.usernameMapper.userDnBase) {
userDnBase = conf.ldap.usernameMapper.userDnBase
ldapAuthoritiesPopulator = ref('ldapAuthoritiesPopulator')
}
// Load user attributes
fullName conf.mock.fullName
email = conf.mock.email
mockRoles = conf.mock.roles
}

aaronzirbes added a commit that referenced this issue May 14, 2013
Fixing issues
* Updating to grails 2.2.2 : #6
* Adding support for rejectIfNoRule : #3, #4
* fullName not getting propogated : # 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant