[jboss-jira] [JBoss JIRA] (WFLY-1843) Invoking :read-resource operation on Security subsystem as a role with restricted privileges causes NPE
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Aug 8 19:00:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795927#comment-12795927 ]
Brian Stansberry commented on WFLY-1843:
----------------------------------------
Fixed in my RBAC branch; should be in the RBAC pull request I send up tomorrow.
> 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
> 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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list