2 Replies Latest reply on Jun 7, 2004 9:37 AM by kazouta

    Setting a timeout for LDAP connections (Urgent !)

    kazouta

      I'm using :
      - jboss-3.2.0 + tomcat-4.1.24
      - JBoss SX to authenticate Webapps users on an external LDAP
      - JNDI API for LDAP searching to get user informations

      I'm using the following configuration files :
      - conf/jboss-service.xml for JaasSecurityManagerService attributes
      - conf/login-config.xml for LDAPLoginModule options
      - WEB-INF/jboss-web.xml in WARs for Webapps security-domain

      All works fine... when no LDAP troubleshooting or failures occurred !
      So, how to set a timeout for LDAP connections ?
      I need to set this timeout in JBoss configuration files for both :
      - LDAP authentication connections (JBoss SX)
      - LDAP searching connections (JNDI API)

      Thanks for any help !