//TODO: this actually does not work correctly since the jackrabbit findPrincipals API
// currently does an exact match of the search filter so it won't match a wildcard
Session session = resourceResolver.adaptTo(Session.class);
if (session != null) {
PrincipalManager principalManager = AccessControlUtil.getPrincipalManager(session);
principals = principalManager.findPrincipals(".*", PrincipalManager.SEARCH_TYPE_NOT_GROUP);
}
if (principals != null) {
return new ChildrenIterator(parent, principals);