[jboss-jira] [JBoss JIRA] (WFLY-2099) Cryptic error when adding duplicate include/exclude definitions to a role.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Wed Sep 18 05:27:03 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805370#comment-12805370 ] 

Darran Lofthouse commented on WFLY-2099:
----------------------------------------

The error message to be output will be: -

{code}
[standalone at localhost:9990 /] ./core-service=management/access=authorization/role-mapping=TestMapping/include=2:add(type=user, name=testUser, realm=ManagementRealm)
{
    "outcome" => "failed",
    "failure-description" => "JBAS015287: Role 'TESTMAPPING' already contains an INCLUDE for type=USER, name=testUser, realm=ManagementRealm.",
    "rolled-back" => true
}
{code}
                
> Cryptic error when adding duplicate include/exclude definitions to a role.
> --------------------------------------------------------------------------
>
>                 Key: WFLY-2099
>                 URL: https://issues.jboss.org/browse/WFLY-2099
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Darran Lofthouse
>            Priority: Critical
>             Fix For: 8.0.0.Beta1
>
>         Attachments: rbac-setup.txt
>
>
> When adding a role assigmment as 'administrator" i get this:
> This request
> {noformat}
> {
>     "address" => [
>         ("core-service" => "management"),
>         ("access" => "authorization"),
>         ("role-mapping" => "ADMINISTRATOR"),
>         ("include" => "user-administrator at ManagementRealm")
>     ],
>     "name" => "administrator",
>     "type" => "USER",
>     "realm" => "ManagementRealm",
>     "operation" => "add"
> }
> {noformat}
> ... leads to
> {noformat}
> [Host Controller] 18:12:36,723 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-9) JBAS014613: Operation ("add") failed - address: ([
> [Host Controller]     ("core-service" => "management"),
> [Host Controller]     ("access" => "authorization"),
> [Host Controller]     ("role-mapping" => "ADMINISTRATOR"),
> [Host Controller]     ("include" => "user-administrator at ManagementRealm")
> [Host Controller] ]) - failure description: "JBAS015285: The runtime role mapping configuration is inconsistent, the server must be restarted."
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list