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

/core-service=capability-registry:get-provider-points only returning a single provider point.

XMLWordPrintable

      Running the following: -

      [standalone@localhost:9990 /] /core-service=capability-registry:get-provider-points(name=org.wildfly.security.security-realm)
      {
          "outcome" => "success",
          "result" => ["/subsystem=elytron/filesystem-realm=*"]
      }
      

      However there are other resources that can provide this capability e.g.

      [standalone@localhost:9990 /] ./subsystem=elytron/properties-realm=*:read-resource-description
      {
          "outcome" => "success",
          "result" => [{
              "address" => [
                  ("subsystem" => "elytron"),
                  ("properties-realm" => "*")
              ],
              "outcome" => "success",
              "result" => {
                  "description" => "A security realm definition backed by properties files.",
                  "capabilities" => [{
                      "name" => "org.wildfly.security.security-realm",
                      "dynamic" => true
                  }],
                  "attributes" => {
                      "groups-attribute" => {
                          "type" => STRING,
                          "description" => "The name of the attribute in the returned AuthorizationIdentity that should contain the group membership information for the identity.",
                          "expressions-allowed" => true,
                          "nillable" => true,
                          "default" => "groups",
                          "min-length" => 1L,
                          "max-length" => 2147483647L,
                          "access-type" => "read-write",
                          "storage" => "configuration",
                          "restart-required" => "resource-services"
                      },
                      "groups-properties" => {
                          "type" => OBJECT,
                          "description" => "The properties file containing the users and their groups.",
                          "expressions-allowed" => false,
                          "nillable" => true,
                          "value-type" => {
                              "path" => {
                                  "type" => STRING,
                                  "description" => "The path to the file containing the users and their groups.",
                                  "expressions-allowed" => true,
                                  "nillable" => true,
                                  "min-length" => 1L,
                                  "max-length" => 2147483647L
                              },
                              "relative-to" => {
                                  "type" => STRING,
                                  "description" => "The pre-defined path the path is relative to.",
                                  "expressions-allowed" => true,
                                  "nillable" => true,
                                  "requires" => ["path"],
                                  "min-length" => 1L,
                                  "max-length" => 2147483647L
                              }
                          },
                          "access-type" => "read-write",
                          "storage" => "configuration",
                          "restart-required" => "resource-services"
                      },
                      "plain-text" => {
                          "type" => BOOLEAN,
                          "description" => "Are the passwords store in plain text within the properties file?",
                          "expressions-allowed" => true,
                          "nillable" => true,
                          "default" => false,
                          "access-type" => "read-write",
                          "storage" => "configuration",
                          "restart-required" => "resource-services"
                      },
                      "synchronized" => {
                          "type" => STRING,
                          "description" => "The time the properties files that back this realm were last loaded.",
                          "expressions-allowed" => false,
                          "nillable" => false,
                          "min-length" => 1L,
                          "max-length" => 2147483647L,
                          "access-type" => "read-only",
                          "storage" => "runtime"
                      },
                      "users-properties" => {
                          "type" => OBJECT,
                          "description" => "The properties file containing the users and their passwords.",
                          "expressions-allowed" => false,
                          "nillable" => false,
                          "value-type" => {
                              "path" => {
                                  "type" => STRING,
                                  "description" => "The path to the file containing the users and their passwords.",
                                  "expressions-allowed" => true,
                                  "nillable" => true,
                                  "min-length" => 1L,
                                  "max-length" => 2147483647L
                              },
                              "relative-to" => {
                                  "type" => STRING,
                                  "description" => "The pre-defined path the path is relative to.",
                                  "expressions-allowed" => true,
                                  "nillable" => true,
                                  "requires" => ["path"],
                                  "min-length" => 1L,
                                  "max-length" => 2147483647L
                              }
                          },
                          "access-type" => "read-write",
                          "storage" => "configuration",
                          "restart-required" => "resource-services"
                      }
                  },
                  "operations" => undefined,
                  "notifications" => undefined,
                  "children" => {}
              }
          }]
      }
      
      

              tomazcerar Tomaž Cerar (Inactive)
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: