Github user svarnau commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/911#discussion_r95625263
--- Diff: core/rest/src/main/java/org/trafodion/rest/util/TrafLdap.java ---
@@ -0,0 +1,94 @@
+package org.trafodion.rest.util;
+
+import java.util.Hashtable;
+
+import javax.naming.Context;
+import javax.naming.NamingException;
+
+import javax.naming.ldap.InitialLdapContext;
+import javax.naming.ldap.LdapContext;
+
+public class TrafLdap {
+
+ private String ip = "10.10.10.3";
+ private String port = "389";
+ private String basedn = "cn=users,cn=accounts,dc=esgyncn,dc=local";
+ private String username="trafodion";
+ private String password="traf123";
+
--- End diff --
Even for test code, it seems this type of info should be in a config file,
not hard-coded.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---