]
Alexey Loubyansky updated WFCORE-176:
-------------------------------------
Attachment: diff.txt
Attached is a possible fix.
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
Attachments: diff.txt
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.