We have an identity injection policy extension working in one environment. Now when moving (export/import) it into another environment we found out that there is a hard coded default provider url in LDAPGroupDataElement.class.

When I change this to match the url for the other environment and recompile the ContextDataElement.jar, NAM fails to import the newly created jar file. Has anyone had similar problems? Are there switches that should be used when recompiling the jar file?

I also tried creating a new configuration property for the extension "User Store Replica" with the correct Id and mapping String Constant for the ldapurl but in this case I get java exception "java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String".

Any ideas?