[jboss-jira] [JBoss JIRA] (WFLY-1843) Invoking :read-resource operation on Security subsystem as a role with restricted privileges causes NPE

Jakub Cechacek (JIRA) jira-events at lists.jboss.org
Wed Aug 7 08:35:26 EDT 2013


Jakub Cechacek created WFLY-1843:
------------------------------------

             Summary: Invoking :read-resource operation on Security subsystem as a role with restricted privileges causes NPE
                 Key: WFLY-1843
                 URL: https://issues.jboss.org/browse/WFLY-1843
             Project: WildFly
          Issue Type: Sub-task
            Reporter: Jakub Cechacek


Invoking :read-resource operation on Security subsystem results in NPE

{code}
:whoami(verbose=true)
{
    "outcome" => "success",
    "result" => {
        "identity" => {
            "username" => "monitor",
            "realm" => "ManagementRealm"
        },
        "roles" => ["Monitor"]
    }
}
{code}

{code}
/subsystem=security:read-resource
{
    "outcome" => "failed",
    "failure-description" => "JBAS014749: Operation handler failed: null",
    "rolled-back" => true
}
{code}

As a result NPE can be found in server log [1] http://pastebin.test.redhat.com/157254


Although I'm not sure whether this is relevant but SecuritySubsystemRootResourceDefinition doesn't have any Access Constraints set


--
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