mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
26.53.2007 1d0bde520826e620082a9433c1db0329e78de673
Use the constant defined in Utils to set the timeout of the connection.
1 files modified
3 ■■■■ changed files
opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java 3 ●●●● patch | view | raw | blame | history
opends/src/statuspanel/org/opends/statuspanel/ConfigFromLDAP.java
@@ -283,7 +283,8 @@
    }
    if (ctx == null)
    {
      ctx = Utils.createLdapContext(ldapUrl, dn, pwd, 3000, null);
      ctx = Utils.createLdapContext(ldapUrl, dn, pwd,
          Utils.getDefaultLDAPTimeout(), null);
    }
    return ctx;
  }