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.
Summary: | Allow user to supply user name and password for GlassFish admin interface when auth failed | ||
---|---|---|---|
Product: | serverplugins | Reporter: | TomasKraus |
Component: | GlassFish | Assignee: | TomasKraus |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pjiricka, viggonavarsete |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 229981 | ||
Bug Blocks: |
Description
TomasKraus
2013-05-27 12:08:21 UTC
Adding NB_ONLY because this is about implementing new Tooling Library features into NetBeans. But I would like to do this myself because I already have solution in my mind. Checked into tooling library: ----------------------------- changeset: 623:75bc353d3678 summary: Added error notifications support for state listeners State checking listeners can now be registered to get notification about check failures. Currently there is a large set of events that may happen so I did not separate error events into separate queues like I did it with state change listeners. Listener error method will be called any time when check result has failed and it must check for event that caused failure itself. Also added new error listener to be registered with GlassFishState.monitor() call: AuthFailureStateListener Its error method evaluates events and for LOCAL_AUTH_FAILED and REMOTE_AUTH_FAILED events in PORT and VERSION task types it will ask user to supply new administrator username and password. I tested it with password change popup because popup to supply admin user and password is not implemented yet. TODO: Create popup window to supply new administrator username and password. Checked into web-main: ---------------------- changeset: 258605:7fff34c56fc1 summary: #230317 - Allow user to supply user name and password for GlassFish admin interface when auth failed Pop up window and related StateChangeListener is registered for GF v4 only, because GF v3 returns HTTP 401 and 403 codes which are currently handled by java.net.Authenticator. *** Bug 233049 has been marked as a duplicate of this bug. *** Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7fff34c56fc1 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #230317 - Allow user to supply user name and password for GlassFish admin interface when auth failed |