-
Apr 29th, 2009, 09:12 AM
#1
Accessing multiple up and running LDAP server with AceGI?
Hi,
I am trying to authorize users against different LDAP server at runtime. The AceGI plugin is in use for this Grails project.
Already on application startup SecurityConfig.groovy is read in which one LDAP server (authentication provider) has to be predefined otherwise SpringSecurity throws an error.
Because of this fact the general idea was to override the authentication providerīs contextSource.url, managerDN, managerPWD etc. within the login controller right after the user hits the "login" button.
Now if a member of the predefined LDAP server logs in, everything is fine, but if another user logs in, the authentication is done against the predefined LDAP server again, although URL, ManagerDN and PWD definetely seem to be overwritten.
Does anybody have an idea? Thx in advance!
Last edited by Mechlar; Apr 30th, 2009 at 10:00 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules