This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 208915 - Should remember username, not just password, in keyring
Summary: Should remember username, not just password, in keyring
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Danek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 16:47 UTC by Jesse Glick
Modified: 2014-01-31 02:40 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-02-27 16:47:54 UTC
I believe it was jlahoda who noted some time ago to me that it can be annoying for the exception reporter to remember your username in NbPreferences while the password is kept in the system keyring: if you run with a fresh userdir and encounter an exception you would like to report, your nb.org password will be prefilled in the form but you have to reenter your username.

Possible fixes to ExceptionsSettings include:

1. Treat the username as part of the key (suffix to passwdKey), and fill in the password only after you have typed in the username. Somewhat similar to what many web browsers do. But not convenient for a fresh userdir.

2. Remember the username, not just the password, outside the userdir.

2a. Use j.u.prefs.Preferences.userRoot rather than NbPreferences.

2b. Store the username in Keyring as a new entry alongside the password.
Comment 1 Marian Mirilovic 2013-07-10 09:16:56 UTC
agree, targeting Next (after 7.4)
Comment 2 Tomas Danek 2014-01-29 14:09:03 UTC
Fixed in trunk, storing username under user preferences.

http://hg.netbeans.org/core-main/rev/50e84d58f4c1
Comment 3 Quality Engineering 2014-01-31 02:40:08 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/50e84d58f4c1
User: musilt2@netbeans.org
Log: #208915: Should remember username, not just password, in keyring