]
Stefano Maestri moved JBEAP-8859 to WFLY-8128:
----------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8128 (was: JBEAP-8859)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
Security
(was: JCA)
(was: Security)
Affects Version/s: (was: 7.1.0.DR11)
recovery-credential under xa-data-source is missing support for
credential store references
-------------------------------------------------------------------------------------------
Key: WFLY-8128
URL:
https://issues.jboss.org/browse/WFLY-8128
Project: WildFly
Issue Type: Bug
Components: JCA, Security
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Priority: Blocker
Labels: credential-store, jca
{{recovery-credential}} is missing support for {{credential-reference}}
{code:xml}
<xa-datasource jndi-name="java:jboss/xa-datasources/test"
pool-name="test">
<xa-datasource-property name="test">
aa
</xa-datasource-property>
<xa-datasource-property name="test2">
aa
</xa-datasource-property>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<credential-reference clear-text="password" />
</security>
<recovery>
<recover-credential>
<user-name>user</user-name>
<password>pass</password>
</recover-credential>
</recovery>
</xa-datasource>
{code}
{noformat}
[standalone@embedded /]
/subsystem=datasources/xa-data-source=test:write-attribute(name=recovery-username,
value=user
[standalone@embedded /]
/subsystem=datasources/xa-data-source=test:write-attribute(name=recovery-password,
value=pass
{noformat}