Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329492 - [git] Treat literal 'null' in credentials as unset
Summary: [git] Treat literal 'null' in credentials as unset
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 17:12 EDT by Carsten Reckord CLA
Modified: 2019-02-25 14:41 EST (History)
1 user (show)

See Also:


Attachments
treat literal 'null' as undefined login/password (1.52 KB, patch)
2010-11-04 17:14 EDT, Carsten Reckord CLA
thomas: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Reckord CLA 2010-11-04 17:12:38 EDT
Reader types like the SVN reader that accept login credentials as part of their provider URI treat the literal String 'null' as an unset credential part (login or password). This is useful to specify a default connection string that in an interactive UI environment will pop up an authentication dialogue, while allowing to override username and password for headless execution. 

The git reader should support this pattern, too.
Comment 1 Carsten Reckord CLA 2010-11-04 17:14:50 EDT
Created attachment 182433 [details]
treat literal 'null' as undefined login/password
Comment 2 Thomas Hallgren CLA 2010-11-06 05:12:08 EDT
Patch looks good. I released it to helios-maintenance branch, rev 11620.

Thanks.