Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vishnukumartj
Contributor
Contributor

Apache syncope Rest API in Talend

Hi
How to make a call to Syncope using REST API. I am trying to make a REST call using the url  But I am not able to get the response. 
Please help on this.
Regards
Vishnu
Labels (3)
2 Replies
Anonymous
Not applicable

Hi,
You could use one of REST framework e.g. Apache CXF to make a call to Syncope using it's REST API.
For example with CXF WebClient:

WebClient client = WebClient.create("http://localhost:8080/syncope/cxf/", Collections.singletonList(new JacksonJsonProvider()));
String authorizationHeader = "Basic " + Base64Utility.encode((username + ":" + password).getBytes());
client.header("Authorization", authorizationHeader);
client = client.path("users").accept("application/json");
client.get(...);
Regards.
coheigeartaigh
Employee
Employee

Another alternative is to use the Syncope client library:
http://syncope.apache.org/docs/reference-guide.html#client-library