[midPoint] Troubles with Live Sync for DELETED

Jason Everling jeverling at bshp.edu
Mon May 9 15:15:58 CEST 2016


I have ours setup the same way, we have a live sync task for a database
table and then I also have a recon task for that same resource that runs
nightly to handle the deleted situation.


JASON

On Mon, May 9, 2016 at 7:50 AM, Ivan Noris <ivan.noris at evolveum.com> wrote:

> There is nothing wrong in deleting the row from the table. The situation
> will be evaluated as DELETED, but not for LiveSync + DBTable connector. You
> will need reconciliation task for that.
>
> In my case I have setup livesync for (OpenLDAP) resource to detect new and
> updates accounts, and a daily reconciliation task to evaluate DELETED
> situation.
>
> As the DBTable connector fetches changes by doing SELECT and searching for
> any record newer/changed after specific time, it will not get any deleted
> ones.
>
> The other way of doing this is not using DELETED situation at all, instead
> mark the rows as "deleted" by some column/attribute, and process this as
> update from the account. In the inbound expression of that resource or in
> template you can do anything you want. For example the
> activation/administrativeStatus attribute can reflect this.. or you can
> pass the information to some (e.g. extension) user attribute in midPoint
> and object template can assign the roles according to that...
>
> Regards,
> Ivan
>
>
> On 05/09/2016 02:37 PM, Marco Benucci (Consulente) wrote:
>
> Ahhh...
> didn’t see this in the documentation, I suppose...
>
> I completely remove the row from the table, and this is not the correct
> way to use it, am I wrong?
>
> How should I detect a deleted account in the correct way?
>
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
>
> --
>   Ing. Ivan Noris
>   Senior Identity Management Engineer & IDM Architect
>   evolveum.com                     evolveum.com/blog/
>   ___________________________________________________
>   "Semper ID(e)M Vix."
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>

-- 


CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; 
intended for only the recipient(s) named above and may contain information 
that is privileged. You should not retain, copy or use this e-mail or any 
attachments for any purpose, or disclose all or any part of the contents to 
any person. Any views or opinions expressed in this e-mail are those of the 
author and do not represent those of the Baptist School of Health 
Professions. If you have received this e-mail in error, or are not the 
named recipient(s), you are hereby notified that any review, dissemination, 
distribution or copying of this communication is prohibited by the sender 
and to do so might constitute a violation of the Electronic Communications 
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the 
sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160509/2e38cad9/attachment.htm>


More information about the midPoint mailing list