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

Empty secret-value is not allowed in credential stores

    XMLWordPrintable

Details

    • Not Required

    Description

      It's not possible to add an entry with empty secret-value into a credential store.

      Masking the fact the password is empty is a valid scenario.

      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=cred-store-default/alias=emptysecret:add()
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0155: 'secret-value' may not be null",
          "rolled-back" => true
      }
      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=cred-store-default/alias=emptysecret:add(secret-value="")
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0113: '' is an invalid value for parameter secret-value. Values must have a minimum length of 1 characters",
          "rolled-back" => true
      }
      

      Unignore tests
      When this issue is fixed, unignore (and fix if needed) related tests in testsuite/elytron/src/test/java/org/wildfly/test/integration/elytron/application/. Thanks.

      git grep WFLY-8143
      

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: