catch (NoSuchAuthorizationManagerException e) {
log.error("Unable to clean privileges attached to repository", e);
}
}
if (evt instanceof TargetRegistryEventRemove) {
TargetRegistryEventRemove rEvt = (TargetRegistryEventRemove) evt;
String targetId = rEvt.getTarget().getId();
try {
cleanupPrivileges(TargetPrivilegeRepositoryTargetPropertyDescriptor.ID, targetId);
}
catch (NoSuchPrivilegeException e) {