GeoFence-server REST API outputs wrong element names.
Expected (as in 2.21.0):
curl -u admin:geoserver "http://localhost:8080/geoserver/rest/geofence/rules" -H "Accept: application/xml"|xmllint --format -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Rules count="1">
<Rule id="1">
<access>DENY</access>
<priority>100</priority>
<roleName>ORG_205738</roleName>
<workspace>topp</workspace>
</Rule>
</Rules>
Actual (as in 2.22.0):
curl -u admin:geoserver "http://localhost:8080/geoserver/rest/geofence/rules" -H "Accept: application/xml"|xmllint --format -
<?xml version="1.0"?>
<JaxbRuleList>
<count>1</count>
<rules>
<rules>
<id>1</id>
<priority>100</priority>
<userName/>
<roleName>ORG_205738</roleName>
<addressRange/>
<workspace>topp</workspace>
<layer/>
<service/>
<request/>
<access>DENY</access>
<limits/>
<layerDetails/>
</rules>
</rules>
</JaxbRuleList>
|