]
Brian Stansberry updated WFCORE-2003:
-------------------------------------
Issue Type: Enhancement (was: Feature Request)
replacement expression in access-control
----------------------------------------
Key: WFCORE-2003
URL:
https://issues.jboss.org/browse/WFCORE-2003
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Affects Versions: 2.1.0.Final
Environment: EAP7.0.3
Reporter: Hisanobu Okuda
Assignee: Brian Stansberry
Our customer wants to use replacement expression in `<access-control/>`:
{code}
${env.VARNAME} for environemt vars
${VARNAME} for system properties
${VAULT::BLOCK::attribute::1} for vars stored inside jboss vault
{code}
Example:
while adding group in for any role like (SuperUser) .
{code}
/core-service=management/access=authorization/role-mapping=SuperUser/include="group_admin":add(name="${ldap_admin_grp}",
type=GROUP)
{code}
resulting :
{code}
<role name="SuperUser">
<include>
<user name="$local"/>
<group alias="group_admin"
name="${ldap_admin_grp}"/>
</include>
</role>
{code}