Announcement Announcement Module
Collapse
No announcement yet.
Accessing multiple up and running LDAP server with AceGI? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 11:00 AM.
Working...
X