You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "graemerocher (via GitHub)" <gi...@apache.org> on 2026/07/07 15:08:59 UTC
[I] GPSPRINGSECURITYCORE-199: SpringSecurityUtils.doWithAuth doesn't work with LDAP [grails-core]
graemerocher opened a new issue, #15854:
URL: https://github.com/apache/grails-core/issues/15854
Original Reporter: mmorett
Environment: Not Specified
Version: Grails-Spring-Security-Core 1.2.7.3
Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-199
SpringSecurityUtils.doWithAuth("mmorett", {
println "xxx"
})
That little snippet will not work with a user that is configured in LDAP and works (i.e. can log in with this user). It produces a RuntimeException.
java.lang.RuntimeException: The specified user domain class 'Person' is not a domain class
The LDAP plugin is configured in Config.groovy with this line:
grails.plugins.springsecurity.providerNames = [ 'ldapAuthProvider', 'anonymousAuthenticationProvider']
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org