-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
7.1.0.DR10
CLI command for update CredentialReference should fail rather then pass.
Because CLI command doesn't persist any data to configuration file but pass.
I expect that command would fail and shows some error message.
How to reproduce
/subsystem=elytron/credential-store=credS004:add(uri="cr-store://test/credS004.jceks?create.storage=true", credential-reference={clear-text=pass987}, relative-to=jboss.server.data.dir)
/subsystem=elytron/credential-store=credS004:write-attribute(name=credential-reference.store, value=credS002)
AND
/subsystem=elytron/credential-store=credS004:write-attribute(name=credential-reference.alias, value=credS002)
Ends with success, but it has to be a failure
These commands could lead to inconsistency.
Because there is valid state to have
credential-reference=
and credential-reference=
{store=cs, alias=alias}but not their combination.
I can use this right form of command
/subsystem=elytron/credential-store=credS004:write-attribute(name=credential-reference, value={store=credS002, alias=jimmy})
Now is everything OK.
- blocks
-
JBEAP-8571 CredentialStore issues
- Resolved
- is cloned by
-
WFCORE-2429 CLI command for update CredentialReference should fail rather then pass.
- Resolved
- is duplicated by
-
JBEAP-9308 credential-reference must have defined combinations of constraints
- Closed