[jboss-jira] [JBoss JIRA] (WFCORE-1772) /core-service=capability-registry:get-provider-points only returning a single provider point.

Darran Lofthouse (JIRA) issues at jboss.org
Thu Sep 8 11:46:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse updated WFCORE-1772:
-------------------------------------
    Labels: affects_elytron  (was: )


> /core-service=capability-registry:get-provider-points only returning a single provider point.
> ---------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1772
>                 URL: https://issues.jboss.org/browse/WFCORE-1772
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>         Environment: This was reproduced using wildfly/master running the standalone-elytron.xml configuration.
>            Reporter: Darran Lofthouse
>            Assignee: Tomaz Cerar
>              Labels: affects_elytron
>             Fix For: 3.0.0.Alpha8
>
>
> Running the following: -
> {noformat}
> [standalone at localhost:9990 /] /core-service=capability-registry:get-provider-points(name=org.wildfly.security.security-realm)
> {
>     "outcome" => "success",
>     "result" => ["/subsystem=elytron/filesystem-realm=*"]
> }
> {noformat}
> However there are other resources that can provide this capability e.g.
> {noformat}
> [standalone at 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" => {}
>         }
>     }]
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list