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

Handling alias names in credential stores must be consistent

XMLWordPrintable

      Working with credential store aliases must be consistent in domain model.

      Currently the alias name is converted to lowercase during :add operation. If the original name contained upper case letter, then it's not possible to handle it with this name in subsequent operations.

      Subsequent operations must be able to work with the same name as the one used in :add operation.

      E.g.

      /subsystem=elytron/credential-store=cred-store-default/alias=UPPER:add(secret-value=password)
      /subsystem=elytron/credential-store=cred-store-default/alias=UPPER:remove()
      

      Current behavior:
      First command succeeds and the second fails as the alias is changed to "upper" (in lowercase).

      Expected behavior:
      Both commans succeeds or add operation fails.

      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-8131
      

              thofman Tomas Hofman
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Jan Kalina (Inactive)
              Hynek Švábek Hynek Švábek (Inactive)
              Hynek Švábek Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: