Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6862

Creating Credentail Store from scratch when keystore file exists is successful.

    XMLWordPrintable

Details

    • Hide
      • /subsystem=elytron/credential-store=cs01:add(uri="cr-store://test/cs/keystorecs1.jceks?store.password=pass123;create.storage=true")
      • /subsystem=elytron/credential-store=cs01/alias=newCs:add(secret-value=Elytron)
      • /subsystem=elytron/credential-store=cs02:add(uri="cr-store://test/cs/keystorecs1.jceks?store.password=pass123;create.storage=true")
        Here I expect failure. I want to use new credential store keystore file and it could be confusing to use existing one. Because I can replace entries in another Credential Store.
      • /subsystem=elytron/credential-store=cs02/alias=newCs:add(secret-value=Elytron)
      Show
      /subsystem=elytron/credential-store=cs01:add(uri="cr-store://test/cs/keystorecs1.jceks?store.password=pass123;create.storage=true") /subsystem=elytron/credential-store=cs01/alias=newCs:add(secret-value=Elytron) /subsystem=elytron/credential-store=cs02:add(uri="cr-store://test/cs/keystorecs1.jceks?store.password=pass123;create.storage=true") Here I expect failure. I want to use new credential store keystore file and it could be confusing to use existing one. Because I can replace entries in another Credential Store. /subsystem=elytron/credential-store=cs02/alias=newCs:add(secret-value=Elytron)

    Description

      When I want to create new Credential Store from scratch and keystore file exists is successful.

      In my opinion right behaviour is failure.
      For behaviour like this when multiple Credential Stores use one keystore file I don't need use parameter "create.storage=true".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: