How to configuring Connection Timeout for LDAP Security Realm?
Issue
- We're using
JBoss EAPin Domain Mode. We useLDAPto authenticate users logging into theEAP Admin Console and CLI, hence specify multipleLDAPservers in theurlattribute to support failing over betweenLDAPservers(e.g. ldap://server1:389 ldap://server2:389). This seems to work fine when testing in our development environment, however, we'd like to specify theLDAPconnection timeout as we've found issues in production with other apps when failing over betweenLDAPServers when the timeout isn't set. - How to configuring Connection Timeout for
LDAP Security Realm? - By by setting
-Dcom.sun.jndi.ldap.connect.timeout=4000, Connection Timeout forLDAPcan be configured. How to configure itLDAP Security Realm?
Environment
- Red Hat Jboss Enterprise Application Platform (EAP)
- 6.3.x
- 6.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
