private static Map<String, String> getProps() {
    Map<String, String> ldapPropsMap = Maps.newHashMap();

    ldapPropsMap.put(AmbariServerConfigurationKey.ANONYMOUS_BIND.key(), "true");
    ldapPropsMap.put(AmbariServerConfigurationKey.SERVER_HOST.key(), "ldap.forumsys.com");
    ldapPropsMap.put(AmbariServerConfigurationKey.SERVER_PORT.key(), "389");
    ldapPropsMap.put(AmbariServerConfigurationKey.BIND_DN.key(), "cn=read-only-admin,dc=example,dc=com");
    ldapPropsMap.put(AmbariServerConfigurationKey.BIND_PASSWORD.key(), "password");
//    ldapPropsMap.put(AmbariLdapConfigKeys.USE_SSL.key(), "true");

    ldapPropsMap.put(AmbariServerConfigurationKey.USER_OBJECT_CLASS.key(), SchemaConstants.PERSON_OC);
    ldapPropsMap.put(AmbariServerConfigurationKey.USER_NAME_ATTRIBUTE.key(), SchemaConstants.UID_AT);
    ldapPropsMap.put(AmbariServerConfigurationKey.USER_SEARCH_BASE.key(), "dc=example,dc=com");
    ldapPropsMap.put(AmbariServerConfigurationKey.DN_ATTRIBUTE.key(), SchemaConstants.UID_AT);
//    ldapPropsMap.put(AmbariLdapConfigKeys.TRUST_STORE.key(), "custom");
    ldapPropsMap.put(AmbariServerConfigurationKey.TRUST_STORE_TYPE.key(), "JKS");
//    ldapPropsMap.put(AmbariLdapConfigKeys.TRUST_STORE_PATH.key(), "/Users/lpuskas/my_truststore/KeyStore.jks");


    return ldapPropsMap;
  }
Test for the GUICE LdapModule setup

- checks the module's bindings (can the GUICE context be created properely)
- checks for specific instances in the GUICE context (re they constructed properly, what is the instance' scope)

It's named functional test as it creates a GUICE context. ("Real" unit tests only mock a class' collaborators, and
are more lightweight)

By default the test is ignored, as it connects to external LDAP instances, thus in different environments may fail
ambari-server/src/test/java/org/apache/ambari/server/ldap/LdapModuleFunctionalTest.java