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

Access constraints are not displayed for value types contained in ObjectTypeAttributeDefinition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Beta29
    • 3.0.0.Beta28
    • None
    • None

    Description

      When reading the description of attributes of type OBJECT, the access constraints of the value types contained in the object attribute are not displayed.

      Example: In BaseHttpInterfaceResourceDefinition we have an http-upgrade attribute of type OBJECT that contains the sasl-authentication-factory attribute, which is a simple attribute with an access constraint.

      When running /core-service=management/management-interface=http-interface:read-resource-description(recursive=true) in the CLI the constraint is not displayed for the attribute:

                  "http-upgrade" => {
                      "type" => OBJECT,
                      "description" => "HTTP Upgrade specific configuration",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "value-type" => {
                          "enabled" => {
                              "type" => BOOLEAN,
                              "description" => "Flag that indicates HTTP Upgrade is enabled, which allows HTTP requests to be upgraded to native remoting connections",
                              "expressions-allowed" => false,
                              "required" => false,
                              "nillable" => true,
                              "default" => false
                          },
                          "sasl-authentication-factory" => {
                              "type" => STRING,
                              "description" => "The server side SASL authentication policy to use to secure the interface where the connection is after a HTTP upgrade.",
                              "expressions-allowed" => false,
                              "required" => false,
                              "nillable" => true,
                              "capability-reference" => "org.wildfly.security.sasl-authentication-factory",
                              "min-length" => 1L,
                              "max-length" => 2147483647L,
                          }
                      },
                      "access-type" => "read-write",
                      "storage" => "configuration",
                      "restart-required" => "all-services"
                  }
      

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            sguilhen Stefan Guilhen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: