Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5303

:resolve-expression does not resolve encrypted expressions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • None
    • Security
    • None

      TheĀ :resolve-expression operation does not resolve encrypted expressions.

      [standalone@localhost:9990 /] /subsystem=elytron/expression=encryption:read-resource
      {
          "outcome" => "success",
          "result" => {
              "default-resolver" => "Default",
              "prefix" => "ENC",
              "resolvers" => [
                  {
                      "name" => "Default",
                      "credential-store" => "credentialstorethree",
                      "secret-key" => "secretkey"
                  },
                  {
                      "name" => "resolver2",
                      "credential-store" => "credentialstorethree",
                      "secret-key" => "secretkey2"
                  }
              ]
          }
      }
      
      [standalone@localhost:9990 /] /subsystem=elytron/expression=encryption:create-expression(clear-text=CredentialStoreTwoPassword)
      {
          "outcome" => "success",
          "result" => {"expression" => "${ENC::RUxZAUMQHrI7PMuvU+0pJ9EgITJmFPWa9iIb5yZ6i9K3mtgnY2kLo3AIL4d/GIeo7GKzSkXB}"}
      }
      
      [standalone@localhost:9990 /] :resolve-expression(expression="${ENC::RUxZAUMQHrI7PMuvU+0pJ9EgITJmFPWa9iIb5yZ6i9K3mtgnY2kLo3AIL4d/GIeo7GKzSkXB}")
      {
          "outcome" => "success",
          "result" => ":RUxZAUMQHrI7PMuvU+0pJ9EgITJmFPWa9iIb5yZ6i9K3mtgnY2kLo3AIL4d/GIeo7GKzSkXB"
      }
      

              bstansbe@redhat.com Brian Stansberry
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: