Il 24/06/2014 12:24, Colm O hEigeartaigh ha scritto:
Hi all,
Hi Colm,
What are the new task "rules" that have been added to trunk? When I create
a new synchronization task with the default "Matching/Update"
"Unmatching/Assign", it appears that the selected LDAPPasswordSyncActions
class is not run.
I created a new sync task with LDAPPasswordSyncActions class assigned and default Matching/Unmatching rules, very similar to LDAP Sync Task. Then I ran this test task and, debugging, I noticed that after() method of LDAPPasswordSyncActions class is ever executed (create, update); beforeCreate() method instead, when creating new user/role instance on Syncope, is never used due to the fact that SyncopeSyncResultHandler
never calls:

protected List<SyncResult> create(final SyncDelta delta, final AttributableUtil attrUtil, final boolean dryRun).

that calls beforeCreate() for each sync action available.

So I think that class LDAPPasswordSyncActions is run, and there's another problem.
But maybe I'm missing something, I'll investigate deeper today.
Colm.


Best Regards,
Andrea

--
Dott. Andrea Patricelli
Tel +393204524292

Junior Engineer @ Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +390859116307 / FAX +39 0859111173
http://www.tirasa.net

Reply via email to