coheigea commented on a change in pull request #45:
URL: https://github.com/apache/directory-kerby/pull/45#discussion_r421990627



##########
File path: 
kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityBackend.java
##########
@@ -51,13 +51,18 @@
 import java.util.Collections;
 import java.util.List;
 import java.util.Map;
+import java.util.HashMap;
 
 /**
  * An LDAP based backend implementation.
  */
 public class LdapIdentityBackend extends AbstractIdentityBackend {
+    private int currentConnectionIndex = 0;
+    private Map<String, LdapConnection> connections = new HashMap<>();

Review comment:
       Should this be ConcurrentHashMap for thread-safety?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to