Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332031

Summary: consuming product needs ability to suppress Agent Controller authentication dialog by providing credentials programmatically
Product: z_Archived Reporter: Joe Toomey <jptoomey>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: major    
Priority: P1 CC: jcayne, jgwest
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: adopter patch
Attachments:
Description Flags
Proposed secure authentication extension point none

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.