[jboss-jira] [JBoss JIRA] (AS7-6964) Recursive expression resolution
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Apr 19 14:48:53 EDT 2013
[ https://issues.jboss.org/browse/AS7-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768920#comment-12768920 ]
Brian Stansberry commented on AS7-6964:
---------------------------------------
[1:37pm] jsightler: well, yeah... but what if one of the ${} that is resolved is just a really weird password?
[1:39pm] bstansberry: jsightler: simple enough would be to add a "fail on non-resolvable" param to the recursive method and set it to true on the entry point and false when recursing
> Recursive expression resolution
> -------------------------------
>
> Key: AS7-6964
> URL: https://issues.jboss.org/browse/AS7-6964
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Brian Stansberry
>
> When resolving an expression, keep resolving until the output of the resolution matches the input.
> Use case:
> ${sys.prop.with.host.specific.value}
> resolves to
> ${VAULT::xxxxx}
> which resolves to
> thesecret
> Basically, the main mechanism for customizing domain-level configs on a per-host basis is to use expressions and use different values on each host. But this breaks down when a vault expression is added to the mix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list