[jboss-jira] [JBoss JIRA] (WFCORE-374) Rethink OperationContextImpl.getBasicAuthorizationResponse

Brian Stansberry (JIRA) issues at jboss.org
Wed Nov 18 15:52:00 EST 2015


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

Brian Stansberry reassigned WFCORE-374:
---------------------------------------

    Assignee:     (was: Brian Stansberry)


> Rethink OperationContextImpl.getBasicAuthorizationResponse
> ----------------------------------------------------------
>
>                 Key: WFCORE-374
>                 URL: https://issues.jboss.org/browse/WFCORE-374
>             Project: WildFly Core
>          Issue Type: Sub-task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>
> OperationContextImpl.getBasicAuthorizationResponse is designed around the "pass" case. It tests all action effects but discards data if any fail. This is ok in the normal case where things will pass. But in the read-resource-description and recursive read-resource cases, where things may often fail with the failure being recorded as expected (i.e. non-failure) output, this approach is inefficient, because the caller is forced to re-authorize to get the discarded data.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list