[midPoint] HA: Changes set to secodaryDelta doesn't applyes

Илья Дорофеев i.dorofeev at solarsecurity.ru
Tue May 26 11:14:29 CEST 2015


I think this thread https://lists.evolveum.com/pipermail/midpoint/2015-May/000995.html would be a better place to discuss this issue because the initial problem is rooted there.


Ilya Dorofeev
Software Architect
Solar Security

________________________________________
От: midPoint [midpoint-bounces at lists.evolveum.com] от имени Алексей Ващенков [a.vashchenkov at solarsecurity.ru]
Отправлено: 26 мая 2015 г. 10:48
Кому: midpoint at lists.evolveum.com
Тема: [midPoint] Changes set to secodaryDelta doesn't applyes

Hello.

I need to remove all roles after user fired.
I wrote the code

focus.assignment.removeAll(rolesToDelete);
current = modelController.getObject(UserType.class, focus.oid, null, task, result);
delta = current.diff(focus.asPrismObject(), true, true);
context.engineScope.get("modelContext").focusContext.addSecondaryDelta(delta)

The delta evaluated properly, but it doesn't applies to user.
Where am I wrong?
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint


More information about the midPoint mailing list