Bug 793956 (JBEPP-1027)
| Summary: | Support for system property substitution in PicketLink IDM configuration | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Martin Weiler <mweiler> |
| Component: | Portal | Assignee: | mposolda |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0.GA | CC: | epp-bugs, jmorgan, mposolda, mweiler |
| Target Milestone: | --- | Keywords: | ReleaseNotes |
| Target Release: | 5.2.1.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1027 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Picketlink IDM did not support system property substitution in the 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.
<itemizedlist>
<listitem>
<para>${property1} - Substitutes the system property "property1".</para>
</listitem>
<listitem>
<para>${property1:defaultValue} - Substitutes the system property "property1", and passes the "defaultValue" value if the system property is not set.</para>
</listitem>
<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>
</listitem>
</itemizedlist>
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-20 13:37:52 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Weiler
2011-07-27 11:17:37 UTC
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".
|