Hi William, You don't need do such hard things.
1. Create a REST API in WSO2 ESB to accept the request payload with your preferred path. You can refer [1] for REST support in ESB. 2. Use the LDAP connector available in WSO2 connector store at [2] to communicate with your LDAP. That's all you need to do. No custom code, No WSO2 AS involvement. [1] http://wso2.com/library/articles/2013/12/restful-integration-with-wso2-esb/ [2] https://store.wso2.com/store/assets/esbconnector/6e86496f-431e-43e2-bded-caedd10c4cb9 Cheers, Chanaka On Fri, Apr 22, 2016 at 5:14 AM, Willian Antunes < [email protected]> wrote: > Hello everyone, > > I'm used to work with Apache Camel and I'm new with WSO2 solutions. I have > the following requirement: > > *- Create a rest web service which receives an username and password.* > *- Use the parameters to authenticate in a LDAP directory and return some > of the user properties.* > > For Apache Camel I would use LDAP and CXF components in order to implement > it. Would be quiet easy. > > But how can I do with WSO2? According to my research: > > *1 - Use WSO2 AS to implement a JAX-RS which has the logic to communicate > with a LDAP directory (develop a pure Java code instead of a component > bundled).* > *2 - Create a Proxy (like Camel) or BPEL which will use the JAX-RS > previously created to deliver (or not) the LDAP user properties.* > > Am I right? Is there another way to do it? > > Thank you. > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thank you and Best Regards, Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
