}
} else if (serviceType != null && serviceType.equalsIgnoreCase(ROLE_DELETE)) {
Integer id = getAttributeAsInteger(ID);
try {
Role aRole = roleDao.loadByID(id);
roleDao.eraseRole(aRole);
logger.debug("Role deleted");
writeBackToClient( new JSONAcknowledge("Operazion succeded") );
} catch (Throwable e) {
logger.error("Exception occurred while deleting role", e);