title: does spring LdapTemplate class provide method to get all pre-set context properties?
body: <p>LdapTemplate object is created as below:</p>
  <pre><code>    LdapContextSource ldapCtxSrc = new LdapContextSource();
      ldapCtxSrc.setUrls(ldapUrls);
      Map&lt;String, Object&gt; envMap = new HashMap&lt;&gt;();
      envMap.put(&quot;com.sun.jndi.ldap.connect.timeout&quot;, &quot;3000&quot;);
  
      ldapCtxSrc.setBaseEnvironmentProperties(envMap);
  
      LdapTemplate oriLdapTemplate = new LdapTemplate(ldapCtxSrc);
  
  </code></pre>
  <p>In another class, I need to create a new list of ldapTemplate objects for each LDAP URLs, e.g.
  there are two ldap urls: <code>ldap://localhost:1234</code> <code>ldap://localhost:5678</code>  based on the oriLdapTemplate object.</p>
  <p>The ldap urls can be got via<br />
  <code>((LdapContextSource) oriLdapTemplate.getContextSource).getUrls();</code><br />
  But don't see any method to get the value of property: &quot;com.sun.jndi.ldap.connect.timeout&quot;.
  Can anyone please help?</p>