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

Stuart Douglas (JIRA) issues at jboss.org
Wed Apr 1 06:24:49 EDT 2015


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

Stuart Douglas updated WFCORE-374:
----------------------------------
    Fix Version/s: 1.0.0.CR1
                       (was: 1.0.0.Beta1)


> 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
>            Assignee: Brian Stansberry
>             Fix For: 1.0.0.CR1
>
>
> 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.3.11#6341)


More information about the jboss-jira mailing list