Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible to authenticate across multiple repositories within a server plugin?

We have a server side plugin already working that will create a related work item, and link it back to the original work item.

The problem we are having is expanding on this to have the related work item created on different repository with a related change request.  The two repositories are friended and are setup with Single Sign On so users can jump between the differnet repos without having to log in again.
    
    
    Is there a way to grab the current user context and use it to connect to the second repository?
    
    
   

0 votes



2 answers

Permanent link
not that I am aware of. you can get the user the plugin is running under, but not their password.

you can use the AbstractService.getAuthenticatedContributor() method to determine the user context.
from there you can get userid and email.. but not password


0 votes


Permanent link
 You will need to use an OSLC request. Here is a quick starter guide with details: http://www.ibm.com/developerworks/rational/library/rational-team-concert-oslc/

Hope this helps... ask if you need more info.

Lawrence Smith [IBM]


0 votes

Comments

he still needs the user's credentials.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,954

Question asked: Mar 19 '15, 12:14 p.m.

Question was seen: 3,000 times

Last updated: Mar 19 '15, 2:50 p.m.

Confirmation Cancel Confirm