in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableResourceProvider.java [364:383]
protected List<Resource> filterPropertyContainers(String relPath, Authorizable authorizable, Resource r) {
List<Resource> propContainers = new ArrayList<>();
for (Resource cr : r.getChildren()) {
String childRelPath;
if (relPath == null) {
childRelPath = cr.getName();
} else {
childRelPath = String.format("%s/%s", relPath, cr.getName());
}
if (getPropertyNames(childRelPath, authorizable).hasNext()) {
propContainers.add(cr);
} else {
// child is not a property container?
if (log.isDebugEnabled()) {
log.debug("skipping child that is not appear to be a nested property container: {}", cr.getName());
}
}
}
return propContainers;
}