[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:34:35 EDT 2014


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

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.



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


More information about the jboss-jira mailing list