[jboss-jira] [JBoss JIRA] (WFLY-8266) Credential store, during creation of CS backed keystore is not created on filesystem.

Martin Choma (JIRA) issues at jboss.org
Wed Mar 1 08:14:00 EST 2017


Martin Choma created WFLY-8266:
----------------------------------

             Summary: Credential store, during creation of CS backed keystore is not created on filesystem.
                 Key: WFLY-8266
                 URL: https://issues.jboss.org/browse/WFLY-8266
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Martin Choma
            Assignee: Darran Lofthouse
            Priority: Critical


Keystore is created after writing secret key into it. So instead of "write alias" operation it is more "write alias and create backed keystore if not exists yet" operation.

How to reproduce:
- create credential store from scratch
{code}
[standalone at localhost:9990 /] /subsystem=elytron/credential-store=myCredStore:add(uri="cr-store://test/myCredStore.jceks?create=true",  credential-reference={clear-text=pass123}, relative-to=jboss.server.config.dir)
{"outcome" => "success"}
{code}

- myCredStore.jceks does not exists on FS (I would expect it will be created)

{code}
[standalone at localhost:9990 /] /subsystem=elytron/credential-store=myCredStore/alias=myAlias:add(secret-value=secret)
{"outcome" => "success"}
{code}

- myCredStore.jceks exists on FS 

Setting high priority as lack of this ehaviour can lead to more complex problems in multiprocess scenarios (e.g domain mode) 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list