I configured the ldap idm for the user and role configuration. I can set the provider url and administrator credentials as options in the picketlink-idm-ldap-config.xml:
But how can I set this options programmatically in the portal extension and read this properties from an own configuration file?
<options>
<option>
<name>providerURL</name>
<value>ldap://localhost:1389</value>
</option>
<option>
<name>adminDN</name>
<value>cn=Directory Manager</value>
</option>
<option>
<name>adminPassword</name>
<value>password</value>
</option>
</options>
Currently the only way to do it is to extend LDAPIdentityStoreImpl and use your own implementation instead - it can be placed in picketlink xml.