Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1199

Credential store, during creation of CS backed keystore is not created on filesystem.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.Beta49
    • 1.1.0.Beta46
    • None

      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
        [standalone@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"}
        
      • myCredStore.jceks does not exists on FS (I would expect it will be created)
      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myCredStore/alias=myAlias:add(secret-value=secret)
      {"outcome" => "success"}
      
      • myCredStore.jceks exists on FS

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

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Hynek Švábek Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: