RTC WebService can access other repositories?
Hi,
I am currently working through this tutorial to implement my first RTC web service: https://jazz.net/wiki/bin/view/Main/HiJazzTutorial
The web service base class already provides me all services that I need to access data on that repository (the service runs on).
Now I am wondering whether it is possible to access let's say work items on another repository too. How would I authenticate against the other server? Is this done automatically?
PS. In our environment the user credentials are the same on all repositories since they all use LDAP/AD.
Thank you
One answer
When you talk about "other servers", you need to developer a OSLC consumer to access the data.
https://jazz.net/library/article/635
For authentication, how the user repository is configured in Jazz is irrelevant as the API only talks with Jazz, not LDAP directly.
https://jazz.net/library/article/635
For authentication, how the user repository is configured in Jazz is irrelevant as the API only talks with Jazz, not LDAP directly.
Comments
In case the other RTC server provides the functionality as a OSLC/WEB service I still need to authenticate on the other server.
How do I do this?
Is this done automatically in case the servers are "friends" and I try to access it via OSLC calls?
In my case the 'data' that I want to access on the other server is not OSLC accessible.
Go through the workshop and you should get the answer.
To utilize the "friendship", you will need to use OAuth.
If the data is not OSLC accessible, you may need to build a web service on that server to publish such data.