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

Reply via email to