Il 20/08/2014 08:12, Suresh Ajja ha scritto:
hi,
Hi Suresh,
I have an end java application running on MySQL configured to use
Syncope Identity Management.
I am not able to do this critical scenario:
1. When a user is attempting to put invalid password for configured n
times, the account gets locked. We are synchronizing this locked
status to syncope and it is happening properly. But the account is not
locked in Syncope (user is able to login into syncope using his old
password.). I need something like, as soon as the user is locked in
the end application, the user should get suspended in the syncope
application as well. Let me know if this is doable.
Yes it's doable.
First of all to synchronise your "locked" status and so suspend user on
Apache Syncope during synchronization, when user is locked on MySQL,
you have to configure your MySQL (db-table) connector properly (i.e. set
right values in status definition fields).
Then, if you want a "real-time" user suspension when you lock user
status in your java webapp you can do this inovking properly Apache
Syncope rest services directly from the webapp (see tests for
implementation examples and [1]).
[1]
http://blog.tirasa.net/category/apache-syncope/java-rest-client-library-for.html
Regards,
Suresh Ajja
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