final Set<String> membVAttrsToBeRemoved, final Map<String, AttributeMod> membVAttrsToBeUpdated) {
final List<AbstractAttributable> attributables = new ArrayList<AbstractAttributable>();
final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
final ConnObjectUtil connObjectUtil = context.getBean(ConnObjectUtil.class);
switch (mapItem.getIntMappingType().getAttributableType()) {
case USER:
if (subject instanceof SyncopeUser) {
attributables.add(subject);
}
break;
case ROLE:
if (subject instanceof SyncopeUser) {
for (SyncopeRole role : ((SyncopeUser) subject).getRoles()) {
connObjectUtil.retrieveVirAttrValues(role, AttributableUtil.getInstance(role));
attributables.add(role);
}
}
if (subject instanceof SyncopeRole) {
attributables.add(subject);