I need to programmatically set the following piece of configuration xml in spring:
<entry key="java.naming.ldap.attributes.binary" value="objectGUID"/>
I tried to set the property of the environment AFTER the container startup but I got the exception: java.lang.String cannot be cast to [B
if I use it from xml configuration descriptor it works fine.
Thanks in advance.