Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-295

Credential store alias is generated from lower and upper case letter

    XMLWordPrintable

Details

    • Hide
      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myNewCredStore:add(location=mynewcredstore.cs, relative-to=jboss.server.config.dir, credential-reference={clear-text=StorePassword}, create=true)  
      {"outcome" => "success"}
      
      [standalone@localhost:9990 /] /subsystem=elytron/key-store=newKS:add(relative-to=jboss.server.config.dir, path=new.keystore, type=JCEKS, credential-reference={store=myNewCredStore, clear-text=myNewPassword}) 
      {
          "outcome" => "success",
          "result" => {"credential-store-update" => {
              "status" => "new-entry-added",
              "new-alias" => "KRYpXFp2ir"
          }}
      }
      
      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myNewCredStore:read-aliases
      {
          "outcome" => "success",
          "result" => ["krypxfp2ir"]
      }
      
      [standalone@localhost:9990 /] 
      
      Show
      [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myNewCredStore:add(location=mynewcredstore.cs, relative-to=jboss.server.config.dir, credential-reference={clear-text=StorePassword}, create= true ) { "outcome" => "success" } [standalone@localhost:9990 /] /subsystem=elytron/key-store=newKS:add(relative-to=jboss.server.config.dir, path= new .keystore, type=JCEKS, credential-reference={store=myNewCredStore, clear-text=myNewPassword}) { "outcome" => "success" , "result" => { "credential-store-update" => { "status" => " new -entry-added" , " new -alias" => "KRYpXFp2ir" }} } [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myNewCredStore:read-aliases { "outcome" => "success" , "result" => [ "krypxfp2ir" ] } [standalone@localhost:9990 /]

    Description

      Credential store alias is generated from both lower and upper case letters which is unnecessary because aliases are case insensitive by default.
      When alias is generated, user is informed about the alias name and it consists of both lower and upper case characters, however, then when requested list of aliases from the credential store, it displays aliases in lower case. This could be confusing for users.

      Consider to use only lower case letters to be used for generating aliases.
      It should be only matter of changing https://github.com/wildfly/wildfly-core/pull/3925/files#diff-955e48598ef9f41cbfef3231e19871dbR128

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              tterem@redhat.com Tomas Terem (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: