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 209250

Summary: remote server instances (glassfish) need password authentication every time ide starts
Product: serverplugins Reporter: pbelbin <pbelbin>
Component: GlassFishAssignee: TomasKraus
Status: RESOLVED FIXED    
Severity: normal CC: darkos, kganfield, kidnapper, netbeanbugreporter, pjiricka, vkraemer
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description pbelbin 2012-03-06 20:53:26 UTC
when I register my remote glassfish instances, I now am prompted every time I start the ide to give authentication details.

this is a huge pain.

netbeans needs to allow the user to save the credentials in the ide so that user credentials do not need to be re-entered each and every time.

this is highly annoying.

especially when you have multiple remote server instances registered!!

while I understand that this might be a security risk, surely we can at least give the user the option of storing their credentials.

another option is to allow the creds to be encrypted.
Comment 1 Vince Kraemer 2012-03-21 16:49:25 UTC
*** Bug 205335 has been marked as a duplicate of this bug. ***
Comment 2 TomasKraus 2012-04-20 12:53:17 UTC
This is a good proposal. Unfortunately we won't make it before 7.2 release because it's too late to start implementing new functionality now.

I'm planning this for next NetBeans release and assigning to myself.
Comment 3 TomasKraus 2012-05-21 12:39:37 UTC
Note from bug# 212440 (closed as duplicated):
---------------------------------------------
I agree that this is annoying and it should be addressed. But it's not a show
stopper or critical bug. I'm changing this bug to priority P3.

I see the same problem when working with NetBeans 7.2 development branch and
having GlassFish configured as remote server (HTTPS with user/password set in
DAS).
Actual code does not contain anything to store GlassFish passwords in
org.netbeans.modules.glassfish.common.AdminAuthenticator class. It just asks
for username and password using this annoying popup window when it needs some.
This must be changed to store username and password together with other
GlassFish attributes.

I'm changing this bug to priority P3 and enhancement type because this
functionality is not implemented yet.
Comment 4 TomasKraus 2012-05-21 12:41:08 UTC
*** Bug 212440 has been marked as a duplicate of this bug. ***
Comment 5 TomasKraus 2012-08-29 11:55:49 UTC
I added 2 additional fields into server registration wizard to let user specify user name and password.
Now pop up window will appear only when user name and/or password do not match with registered server.

changeset:   231028:437b344e0101
summary:     Bug# 209250 - Added administrators user name and password into 
             server registration wizard

changeset:   231029:bb6ef9226088
summary:     Bug# 209250 - Username and password fields from GlassFish 
             registration wizard are integrated into call methods
             (both old and tooling SDK).
Comment 6 TomasKraus 2012-08-29 11:59:34 UTC
*** Bug 187813 has been marked as a duplicate of this bug. ***
Comment 7 TomasKraus 2012-08-30 13:46:44 UTC
changeset:   231400:4d242554289f
summary:     Bug# 209250 - Passwords are stored in Keyring instead of FileObject

Pushed to main repository.
Comment 8 pbelbin 2012-08-31 00:35:06 UTC
Tom,  thank you so much for getting this put in.  I really do appreciate it.

All the best,
peter
Comment 9 TomasKraus 2012-09-04 09:08:14 UTC
*** Bug 166648 has been marked as a duplicate of this bug. ***