Bug 228975 - Import NB7.3.0 preferences into 7.3.1: GlassFish credentials are not imported
Import NB7.3.0 preferences into 7.3.1: GlassFish credentials are not imported
Status: RESOLVED INCOMPLETE
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.3.1
PC Windows 7
: P3 (vote)
: TBD
Assigned To: TomasKraus
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-24 20:31 UTC by ent38
Modified: 2013-05-03 18:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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