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 79502 - Do not store DB Connection password when connection fails
Summary: Do not store DB Connection password when connection fails
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-30 15:38 UTC by Martin Schovanek
Modified: 2006-08-25 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-06-30 15:38:33 UTC
[#200606300200, jdk1.5.0, Derby]

to reproduce:
-------------
1) invoke connect on a DB Connection
2) fill a wrong password and check 'Remember Password ...' check box
3) press [OK]
NOTE: connection fails
4) cancel the Connect dialog
5) invoke connect again
ERROR: Only Error dialog "Unable to connect" dialog appears

IDE should not store password when the connect fails.
Comment 1 Andrei Badea 2006-07-04 14:20:34 UTC
Fixed.

Checking in src/org/netbeans/modules/db/explorer/actions/ConnectAction.java;
/cvs/db/src/org/netbeans/modules/db/explorer/actions/ConnectAction.java,v  <-- 
ConnectAction.java
new revision: 1.36.2.2.2.2; previous revision: 1.36.2.2.2.1
done
Comment 2 Lukasz Grela 2006-08-25 14:18:53 UTC
v.