curl -X POST --user GrouperSystem:pass -H "Content-Type: application/json; charset=UTF-8" http://localhost:8080/grouper/servicesRest/v4_0_460/groups --data '
|
"WsRestFindGroupsRequest": {
|
"wsQueryFilter": {
|
"queryFilterType": "FIND_BY_EXACT_ATTRIBUTE",
|
"stemName": "test",
|
"groupAttributeValue": "policy",
|
"groupAttributeName": "etc:objectTypes:grouperObjectTypeName"
|
},
|
"includeGroupDetail": "T",
|
}
|
}
|
'
|
This ends up calling Hib3GroupDAO.findAllByAttr(...), which specifically adds the legacy attribute prefix to the attribute name before searching for it. It is impossible to find other attributes that don't have the legacy prefix.