Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lyo » Value for an Oauth client in DoorsOauthSample by Lyo(Don't know where to get the values for initOauthAuth())
Value for an Oauth client in DoorsOauthSample by Lyo [message #1109986] Mon, 16 September 2013 07:58 Go to next message
Rachita Sakibanda is currently offline Rachita SakibandaFriend
Messages: 9
Registered: September 2013
Junior Member
Hi,

I am currently going through one of the Lyo's sample called "DoorsOauthSample.java" in order to understand how requirements are created in DOORS 9 via OSLC.

I was going through the code and came across the following line which has confused me a bit.

/---code---/
OslcOauthClient client = helper.initOauthAuth("1234567890", "123");
/---code---/

I am unsure on where to get the values for the parameters that are for initOauthAuth().

Could anyone please provide some assistance, any help would be kindly appreciated.

Thank you very much. Smile

Kind Regards,
Rachita
Re: Value for an Oauth client in DoorsOauthSample by Lyo [message #1110201 is a reply to message #1109986] Mon, 16 September 2013 14:31 Go to previous messageGo to next message
Samuel Padgett is currently offline Samuel PadgettFriend
Messages: 30
Registered: July 2009
Member
Rachita, these are the OAuth consumer key and secret. They are configured when setting up OAuth on the DWA server. See the DOORS InfoCenter topic, "Setting up Rational DOORS Web Access to be accessed by remote applications with OSLC." (Unfortunately, the forum software is not allowing me to add a link.)

Good luck!

- Sam
Re: Value for an Oauth client in DoorsOauthSample by Lyo [message #1110202 is a reply to message #1110201] Mon, 16 September 2013 14:32 Go to previous messageGo to next message
Samuel Padgett is currently offline Samuel PadgettFriend
Messages: 30
Registered: July 2009
Member
Now that I have 5 posts, I can add a link Smile

http://pic.dhe.ibm.com/infocenter/doorshlp/v9r5/index.jsp?topic=%2Fcom.ibm.rational.doors.integrating.doc%2Ftopics%2Ft_consumeoslc.html
Re: Value for an Oauth client in DoorsOauthSample by Lyo [message #1110454 is a reply to message #1110202] Mon, 16 September 2013 23:05 Go to previous message
Rachita Sakibanda is currently offline Rachita SakibandaFriend
Messages: 9
Registered: September 2013
Junior Member
Awesome! Smile

Thanks Samuel, I will give this a go and see how it goes, hopefully i get it working and create requirements in no time Smile.

Thanks once again Very Happy.

Kind Regards,
Rachita Sakibanda
Previous Topic:Is there an Update Site for Lyo?
Next Topic:DoorsOauthSample - Unable to get the Entity of the Resource Shape for Requirements
Goto Forum:
  


Current Time: Tue Mar 19 04:03:31 GMT 2024

Powered by FUDForum. Page generated in 0.02183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top