]
Brian Stansberry reassigned WFCORE-560:
---------------------------------------
Assignee: (was: Brian Stansberry)
Incorrect wildcard handling in
OperationContextImpl.getAuthorizationResource(PathAddress address)
-------------------------------------------------------------------------------------------------
Key: WFCORE-560
URL:
https://issues.jboss.org/browse/WFCORE-560
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Alpha18
Reporter: Brian Stansberry
Problem is 2nd and 3rd lines here:
{code}
if (element.isWildcard()) {
model = Resource.Factory.create();
final Set<Resource.ResourceEntry> children =
model.getChildren(element.getKey());
for (final Resource.ResourceEntry entry : children) {
model.registerChild(entry.getPathElement(), entry);
}
} else {
{code}
Problem is "model" will have no children because it was just reassigned to a
new Resource. The lines need to be swapped.