executeWithBroker(new BrokerOperation<Void>(){
@Override
public Void withBroker(DBBroker broker) throws XMLDBException, LockException, PermissionDeniedException, IOException, EXistException, TriggerException, SyntaxException {
final SecurityManager sm = broker.getBrokerPool().getSecurityManager();
sm.deleteGroup(group.getName());
return null;
}
});
} catch(final Exception e) {