How to configuring Connection Timeout for LDAP Security Realm?

Solution Verified - Updated -

Issue

  • We're using JBoss EAP in Domain Mode. We use LDAP to authenticate users logging into the EAP Admin Console and CLI, hence specify multiple LDAP servers in the url attribute to support failing over between LDAP servers (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 the LDAP connection timeout as we've found issues in production with other apps when failing over between LDAP Servers 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 for LDAP can be configured. How to configure it LDAP 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.