Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332031 - consuming product needs ability to suppress Agent Controller authentication dialog by providing credentials programmatically
Summary: consuming product needs ability to suppress Agent Controller authentication d...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Jonathan West CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard: adopter patch
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 10:24 EST by Joe Toomey CLA
Modified: 2016-05-05 10:40 EDT (History)
2 users (show)

See Also:


Attachments
Proposed secure authentication extension point (14.59 KB, patch)
2010-12-07 10:25 EST, Joe Toomey CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Toomey CLA 2010-12-07 10:24:37 EST
A consuming product needs the ability to programmatically provide credentials when connecting to a secure agent controller.  Ideally this would be via a callback during the connection process, since some of the TPTP API (i.e. test execution) do not provide the ability for consumers to pass credentials in.

I will attach a patch with our preferred solution, which provides an extension point allowing consumers to register as providers for secure agent controller credentials.  If extensions are registered, the BaseConnectUtil method will attempt to retrieve credentials via those extensions before prompting the user for credentials.
Comment 1 Joe Toomey CLA 2010-12-07 10:25:42 EST
Created attachment 184723 [details]
Proposed secure authentication extension point
Comment 2 Kathy Chan CLA 2010-12-08 10:28:08 EST
Jonathan, 

Please take a look at the extension point proposed in the patch.
Comment 3 Jonathan West CLA 2010-12-08 14:39:32 EST
Patch is good.
Comment 4 Joe Toomey CLA 2010-12-08 17:01:05 EST
Patch was successfully tested in the consuming product.  Commited to CVS.
Comment 5 Joe Toomey CLA 2010-12-08 17:01:39 EST
Fix was validated in the consuming product.
Comment 6 Joel Cayne CLA 2010-12-09 12:09:57 EST
Change checked into org.eclipse.tptp.platform.common modifying the version number from 4.4.100 to 4.4.2 in the Manifest.