-
Aug 13th, 2010, 03:44 PM
#1
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
Tags for this Thread
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