<< Back to previous view

[QB-2180] LDAP Timeout not implemented for getEmail method
Created: 17/Sep/14  Updated: 20/Sep/14

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.30
Fix Version/s: 5.1.35

Type: Bug Priority: Major
Reporter: Simo Kurra Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
in http://track.pmease.com/browse/QB-2058 timeouts were introduced for LdapAuthenticator.java in the authenticate method.

However we are now facing the same problem with getEmail

We are internally testing a modification currently by adding:

        ldapEnv.put("com.sun.jndi.ldap.connect.timeout", String.valueOf(Bootstrap.NET_CONNECT_TIMEOUT*1000L));
        ldapEnv.put("com.sun.jndi.ldap.read.timeout", String.valueOf(Bootstrap.NET_READ_TIMEOUT*1000L));

to getEmail() and exists() in LdapAuthenticator class

But would be nice to have a proper/official fix

 Comments   
Comment by Robin Shen [ 18/Sep/14 12:20 AM ]
Thanks for reporting. Will include this into next patch release.
Generated at Wed May 15 18:34:11 UTC 2024 using JIRA 189.