using Multiple LDAPproviderURLs in AuthenticationConfig.xml

只愿长相守 提交于 2019-12-13 06:24:30

问题


I am using LDAP Login Module in Worklight to authenticate users. I have provided the IP Address of one of my Domain Controllers in ldapProviderUrl, and everything is working perfectly fine.

Now, I want to add the second Domain Controller as a backup for authentication in case the Primary DC is down.

Any one has any idea if I can add another ldapProviderUrl in authenticationConfig.xml ? I have already tried using the Generic Domain Address, but that is not working at all.

I am using Worklight 6.0.1 , and class com.worklight.core.auth.ext.LdapLoginModule .


回答1:


The ldapProviderUrl parameter is used to specify the java.naming.provider.url environment property for the LdapContext. And I believe that property can be a comma separated list of URLs for failover. Try specifying a comma separated list of URLs for the ldapProviderUrl parameter.



来源:https://stackoverflow.com/questions/21401786/using-multiple-ldapproviderurls-in-authenticationconfig-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!