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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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
Creator
Creator

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