[jboss-jira] [JBoss JIRA] (WFCORE-176) role-mapping=x/include=y boot operation is generated with the wrong address

Alexey Loubyansky (JIRA) issues at jboss.org
Thu Oct 16 10:17:36 EDT 2014


Alexey Loubyansky created WFCORE-176:
----------------------------------------

             Summary: role-mapping=x/include=y boot operation is generated with the wrong address
                 Key: WFCORE-176
                 URL: https://issues.jboss.org/browse/WFCORE-176
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
            Reporter: Alexey Loubyansky
            Assignee: Darran Lofthouse


This is the request which is generated by the xml parser

{"operation" => "add",
"type" => "user",
"name" => "$local",
"address" => [
("core-service" => "management"),
("access" => "authorization"),
("role-mapping" => "SuperUser"),
"include",
"user-$local"
]

include and user-$local are added separately, not as a pair.
ManagementXml.parseRole(...) line 3345 adds include
then parsePrincipal(...) line 3428 adds the alias.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list