Help Desk Ticket Reference: https://na7.salesforce.com/500A0000007qDjJ project_key: JBEPP It would be nice to be able to externalize some configuration settings from IDM configs, eg: <option> <name>providerURL</name> <value>${ldap.host}</value> </option> which could then be provided as system properties, eg. -Dldap.host=xyz at server start
Release Notes Docs Status: Added: Not Yet Documented
Labels: Added: EPP_5_2_1_Candidate
Labels: Removed: EPP_5_2_1_Candidate
Possible think to support could be also default values of system properties, which is supported in JBoss AS or in eXo kernel config files. Something like: <value>${gatein.default.jgroups.stack:udp}</value>
Fixed in Picketlink IDM trunk and will be available in next version of PLIDM. See https://source.jboss.org/changelog/PicketLink?cs=1365 . Substitution is supported for every String element in Picketlink IDM configuration file. And it's supporting same substitution like in JBoss AS,which means: <value>${property1}</value> - Substitution with system property "property1" <value>${property1:defaultValue}</value> - Substitution with system property "property1" and using value "defaultValue" if this system property is not set. <value>${property1,property2:defaultValue}</value> - Substitution with systemproperty "property1". If not set, then trying system property "property2". If nor "property1" and "property2" are not set, then fallback to "defaultValue".
Only required action is new release of Picketlink IDM and update dependency in EPP pom.xml .
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Release notes docs status: Not Yet Documented Release notes text: CAUSE: Picketlink IDM did not support substitution of system properties in it's configuration files. FIX: New feature added into Picketlink IDM and EPP has been updated to use this version. Now it's possible to use substitution in configuration file of Picketlink IDM. Substitution is supported for every String element in Picketlink IDM configuration file. And it's supporting same substitution like in JBoss AS,which means: <value>${property1}</value> - Substitution with system property "property1" <value>${property1:defaultValue}</value> - Substitution with system property "property1" and using value "defaultValue" if this system property is not set. <value>${property1,property2:defaultValue}</value> - Substitution with systemproperty "property1". If not set, then trying system property "property2". If nor "property1" and "property2" are not set, then fallback to "defaultValue".
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,20 +1,15 @@ -Release notes docs status: Not Yet Documented +Picketlink IDM did not support system property substitution in the configuration files. -Release notes text: CAUSE: Picketlink IDM did not support substitution of system properties in it's configuration files. +The fix implements parameters that allow system property substitution. Substitution is supported for every String element in the Picketlink IDM configuration file. The substitution operates in the same way as JBoss Enterprise Application Platform substitution. Usage examples follow. -FIX: New feature added into Picketlink IDM and EPP has been updated to use this version. Now it's possible to use substitution in configuration file of Picketlink IDM. +<itemizedlist> - + <listitem> - + <para>${property1} - Substitutes the system property "property1".</para> -Substitution is + </listitem> -supported for every String element in Picketlink IDM configuration file. And + <listitem> -it's supporting same substitution like in JBoss AS,which means: + <para>${property1:defaultValue} - Substitutes the system property "property1", and passes the "defaultValue" value if the system property is not set.</para> - + </listitem> -<value>${property1}</value> - Substitution with system property "property1" + <listitem> - + <para>${property1,property2:defaultValue} - Substitutes the system property "property1", then attempts to set the "property2" system property. If "property1" and "property2" are not set, fallback to "defaultValue".</para> -<value>${property1:defaultValue}</value> - Substitution with system property + </listitem> -"property1" and using value "defaultValue" if this system property is not set. +</itemizedlist>- -<value>${property1,property2:defaultValue}</value> - Substitution with -systemproperty "property1". If not set, then trying system property -"property2". If nor "property1" and "property2" are not set, then fallback to -"defaultValue".