in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/post/DeleteAuthorizableServlet.java [207:222]
public void deleteAuthorizables(Session jcrSession,
Resource baseResource,
String[] paths,
List<Modification> changes)
throws RepositoryException {
ApplyToIterator iterator = new ApplyToIterator(baseResource, paths);
while (iterator.hasNext()) {
Resource resource = iterator.next();
Authorizable item = resource.adaptTo(Authorizable.class);
if (item != null) {
item.remove();
changes.add(Modification.onDeleted(resource.getPath()));
}
}
}