You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Peter Diefenthaeler <pd...@csc.com> on 2011/05/10 15:29:27 UTC

org.apache.shiro.config.ConfigurationException

Hi,
I tried to set some parameters for LDAP in the shiro.ini file:
[main]
...
ldapRealm.contextFactory.environment[java.naming.security.protocol] = ssl
ldapRealm.contextFactory.environment[com.sun.jndi.ldap.connect.pool.protocol] 
= plain ssl
ldapRealm.contextFactory.environment[com.sun.jndi.ldap.connect.pool] = 
true

These entries lead to following error message:

org.apache.shiro.config.ConfigurationException: Map property value [ssl] 
contained key-value pair token [ssl] that does not properly split to a 
single key and pair.  This must be the case for all map entries.

How do I enter parameters correctly?

Thanks, Peter