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? |
2 answers
![]()
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 |
![]()
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]
|
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.