[jboss-jira] [JBoss JIRA] (WFLY-2150) Rethink OperationContextImpl.getBasicAuthorizationResponse

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Nov 27 11:15:06 EST 2013


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

Brian Stansberry updated WFLY-2150:
-----------------------------------

    Fix Version/s: 9.0.0.CR1
                       (was: 8.0.0.CR1)

    
> Rethink OperationContextImpl.getBasicAuthorizationResponse
> ----------------------------------------------------------
>
>                 Key: WFLY-2150
>                 URL: https://issues.jboss.org/browse/WFLY-2150
>             Project: WildFly
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 9.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 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