public Map getEnvironment() {
        return this.environment;
    }
Returns the base JNDI environment template to use when acquiring an LDAP connection (an {@link LdapContext}).
This property is the base configuration template to use for all connections.  This template is then
merged with appropriate runtime values as necessary in the
{@link #getLdapContext(Object, Object)} implementation.  The merged environment instance is what is used to
acquire the {@link LdapContext} at runtime.
<p/>
Most other get/set methods in this class act as thin proxy wrappers that interact with this property.  The
benefit of using them is you have an easier-to-use configuration mechanism compared to setting map properties
based on JNDI context keys.

@return the base JNDI environment template to use when acquiring an LDAP connection (an {@link LdapContext})
core/src/main/java/org/apache/shiro/realm/ldap/JndiLdapContextFactory.java