]
Ladislav Thon updated WFLY-1843:
--------------------------------
Labels: rbac-filed-by-qa (was: )
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
Components: Domain Management, Security
Reporter: Jakub Cechacek
Assignee: Brian Stansberry
Labels: rbac-filed-by-qa
Fix For: 8.0.0.Alpha4
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: