Announcement Announcement Module
Collapse
No announcement yet.
multiple LDAP servers as fail-over Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • multiple LDAP servers as fail-over

    In oder to handle fail-over for ldap auth, I'm trying to configure multiple ldap servers by extending the context-source, that is :

    MyContectSource extends DefaultSpringSecurityContextSource {
    MyContectSource(String primaryUrl) {
    super(primaryUrl);
    String[] urls = findOtherLdapUrls();
    if(urls != null && urls.length > 0) {
    super.setUrls(urls);
    }
    }
    .....
    }

    Problem: I'm not sure what's going on under the cover, but it seems like it times out before connecting to the second or the third. Users can't wait that long.

    Question: Is there any way to speed up authentication by setting a lower timeout? Or for that matter, is it possible to configure dynamic ldap providers by reading it from the database? Other ideas are welcome.

    Thanks
    Samaresh
Working...
X