@Colm, The scenario is: Syncope load users from a csv file and propagate/syncronize them into AD. Then, it deletes all users in Syncope's MySQL, load users from another csv, propagate/syncronize them into LDAP and, again, deletes its database. In addiction, I'd like to automate these tasks. I think there would be no problem with an "scheduled task" but I have to define a new workflow, right?
@Jean, Thank you for your idea, I'll research in that way. I found an entry in your blog about JAX-RS services using Karaf and CXF, but it's from August, 2011 (pretty interesting, anyway). So, communication between Syncope and CXF seems bit troubleless (nevertheless, I'm sure a few doubts will come up). My concern is about connecting CXF and the final systems. Have you ever tried this before? Regards, Javi. El Jueves 5 de junio de 2014 17:40, Jean-Baptiste Onofré <[email protected]> escribió: Hi Javier, funny, with the help of Colm, I'm preparing a blog about what I did. I use a bundle that look for CXF busses deployed in Karaf, and inject an interceptor. This CXF interceptor (the same interceptor can work for SOAP or REST services) calls Syncope (REST API) to authenticate an user and retrieve the roles and check (in a properties file containing bus.id=role1,role2,role3) if the user has the appropriate role. It's simple but straight forward. I sent an e-mail yesterday on the dev mailing list to package such kind of interceptors in a ready to use CXF features. I will also add an Syncope LoginModule allowing to use Syncope for auth/authorization in JAAS realm. Regards JB On 06/05/2014 05:30 PM, Javier Calvach Regidor wrote: > Hi there! > > I'm trying to develop a project which involves Apache Syncope and Apache > CXF. At first, I thought about use an ESB like ServiceMix but, would CXF > be enough? The idea is connect Syncope to CXF and this one to some > resources, like AD, LDAP, Unix, etc... Something like: > > Active Directory > / > > Syncope <-----> > CXF <------>LDAP > \ > ... > > I've been researching about this and I have some doubts that came up: > > 1) The connection between Syncope and CXF would be with a SOAP bundle, > developing a service using JAX-WS? > 2) Does CXF "understands" Syncope bundles? Or, how could I connect CXF > to AD or LDAP? > > I know that Syncope is able to connect with all of that systems, but I'm > looking for something that act like a funnel. What do you think? All > ideas are welcome. > > Looking forward to having news from you, > Thank you all in advance. > > Javi. -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
