]
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.