# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/ondra/netbeans/cdev # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: glassfish.common/src/org/netbeans/modules/glassfish/common/AdminAuthenticator.java --- glassfish.common/src/org/netbeans/modules/glassfish/common/AdminAuthenticator.java Base (BASE) +++ glassfish.common/src/org/netbeans/modules/glassfish/common/AdminAuthenticator.java Locally Modified (Based On LOCAL) @@ -54,6 +54,7 @@ import org.openide.NotifyDescriptor; import org.openide.util.NbBundle; import org.openide.util.NbPreferences; +import org.openide.util.NetworkSettings; /** Global password protected sites Authenticator for IDE * @@ -90,7 +91,7 @@ if (!"admin-realm".equals(title)) { // NOI18N displayed = false; } - if (!displayed) { + if (!displayed && !NetworkSettings.isAuthenticationDialogSuppressed()) { // try to prevent the dialog from popping up too often... since the // plugin sends a bunch of requests to the AS one after the other to try to // populate its node tree.