public void setJndiEnvironment(Properties jndiEnvironment) {
        this.jndiTemplate = new JndiTemplate(jndiEnvironment);
    }
Set the JNDI environment to use for JNDI lookups.
<p>Creates a JndiTemplate with the given environment settings.

@see #setJndiTemplate
core/src/main/java/org/apache/shiro/jndi/JndiLocator.java