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

Documentation says server-identities expressions should resolve to Base64 values, but only resolving to plain text works.

    XMLWordPrintable

Details

    • Hide

      Try server to server call using using remote-outbound-connection with configuration like below - use expression for secret value under <server-identities> .
      ---------------------------------------
      <system-properties>
      <property name="password" value="ZWpidXNlcjEyMyE="/>
      </system-properties>

      <security-realm name="test-security-realm">
      <server-identities>
      <!secret value="ZWpidXNlcjEyMyE="/>
      <secret value="${password}"/>
      </server-identities>
      </security-realm>

      ----------------------------

      Show
      Try server to server call using using remote-outbound-connection with configuration like below - use expression for secret value under <server-identities> . --------------------------------------- <system-properties> <property name="password" value="ZWpidXNlcjEyMyE="/> </system-properties> <security-realm name="test-security-realm"> <server-identities> <! secret value="ZWpidXNlcjEyMyE="/ > <secret value="${password}"/> </server-identities> </security-realm> ----------------------------

    Description

      The expression for secret value under server-identities in test-security-realm does not work , even though it shows "expressions-allowed" to true like below .

      ----------------------------
      [standalone@localhost:9990 /] /core-service=management/security-realm=test-security-realm/server-identity=secret:read-resource-description()
      {
      "outcome" => "success",
      .
      .

      "attributes" =>

      {. . . . . }

      ,
      "value" =>

      { "type" => STRING, "description" => "The secret / password - Base64 Encoded.", "expressions-allowed" => true, "required" => true, "nillable" => true, "alternatives" => ["credential-reference"], "min-length" => 1L, "max-length" => 2147483647L, "access-type" => "read-write", "storage" => "configuration", "restart-required" => "no-services" }

      },
      "operations" => undefined,
      "notifications" => undefined,
      "children" => {}
      }
      }
      ----------------------------

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              rhn-support-iingawal Indrajit Ingawale
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: