Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 228975

Summary: Import NB7.3.0 preferences into 7.3.1: GlassFish credentials are not imported
Product: serverplugins Reporter: ent38 <ent38>
Component: GlassFishAssignee: TomasKraus
Status: RESOLVED INCOMPLETE QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: jskrivanek, theofanis
Version: 7.3.1   
Target Milestone: TBD   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Issue Type: DEFECT Exception Report:

Description ent38 2013-04-24 20:31:13 UTC
* In NB 7.3.0: export all preferences (including passwords) to a zip file (tools / Options / the Export button). 
A Glassfish 3.1.2.2 server was registered in this IDE, with a custom admin account (not ""admin/admin). At server startup, NB asks for credentials and the user and password fields are already filled.

* In NB 7.3.1 (dev-201304162201): import these preferences (including passwords).
The Glassfish server is registered, NB asks for credentials at server startup but the user and password fields are NOT already filled.

No error or warning message in NB logs.
Comment 1 Theofanis Oikonomou 2013-05-02 14:00:05 UTC
@Jiri: I am not really sure how this used to work. Is it expected that the credentials are pre-filled?

@user: Please reopen stating if the credentials are pre-filled in the properties window of the glassfish server?

Thank you
Comment 2 Jiri Skrivanek 2013-05-03 08:51:00 UTC
Tomas Kraus could clarify. But if I fill username/password in popup dialog and then open server properties it is not there. I don't know where pre-filled values come from.
Comment 3 TomasKraus 2013-05-03 18:35:18 UTC
Those pop-up windows are from java.net.Authenticator and there is no way how to pre-fill them or store anything from them. Unfortunately I can't do anything with Authenticator in current 7.3.1 code.
In 7.4 I would like to implement own Authenticator which will be using stored server properties.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo