It's all about the answers!

Ask a question

Creating work item from REST service - authentication


Milan Krivic (9807156128) | asked Oct 01 '14, 6:55 a.m.
 Hi,

I currently work on some kind of custom application system where I must call REST service at RTC and create work item with it.
My custom application system and RTC both use Microsoft Active Directory for authentication mechanism.

My question is: How to manage that user, who will call REST service at RTC and create work item, will be authomatically logged in RTC? How to solve this level?
Because, when I was testing RTC REST service calling for creating work item from Google Chrome REST api, I couldn't create it until I was logged in and authenticated in RTC.
Is there any useful link or example for doing it?

Regards,

One answer



permanent link
Jean-Luc Johnson (8115) | answered Oct 01 '14, 9:05 a.m.
Hi Milan,
It is the responsability of the REST client application to authenticate the user against RTC.
I don't know in which programming language you are writing your client application, but if you are confortable with Java, there is an example with the OSLC LYO library. Find out more at http://git.eclipse.org/c/lyo/org.eclipse.lyo.client.git/tree/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/RTCFormSample.java .
See how to build the full OSLC Jazz client project at http://wiki.eclipse.org/Lyo/BuildClient.

I hope it helps!



Your answer


Register or to post your answer.