[jbosstools-issues] [JBoss JIRA] (JBIDE-12999) 2nd dialog with username and password on top of connection dialog if you use bad credentials

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Nov 7 09:01:31 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-12999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732436#comment-12732436 ] 

Andre Dietisheim commented on JBIDE-12999:
------------------------------------------

btw. Eclipse Scout (https://dev.eclipse.org/svnroot/technology/org.eclipse.scout/scout.rt/branches/2011-Jun/org.eclipse.scout.net/src/org/eclipse/scout/net/NetActivator.java) also installs the EclipseAuthenticator when it's plugin gets started. The actually use their own copy EclipseAuthenticator.

{code:title=org.eclipse.scout.net.NetActivator}
public void start(BundleContext context) throws Exception {
    super.start(context);
    plugin = this;
    String debugText = context.getProperty(PLUGIN_ID + ".debug");
    DEBUG = (debugText != null && debugText.equalsIgnoreCase("true"));

    String proxyDetectionText = context.getProperty(PLUGIN_ID + ".proxy.autodetect");
    PROXY_AUTODETECTION = (proxyDetectionText == null || proxyDetectionText.equalsIgnoreCase("true"));

    // setup java.net
    m_oldProxySelector = ProxySelector.getDefault();
    m_oldCookieHandler = CookieHandler.getDefault();
    if (PROXY_AUTODETECTION) {
      ProxySelector.setDefault(m_newProxySelector = new EclipseProxySelector());
    }
    CookieManager.setDefault(m_newCookieHandler = new CookieManager(null, CookiePolicy.ACCEPT_ALL));
    Authenticator.setDefault(new EclipseAuthenticator());
  }
{code} 
                
> 2nd dialog with username and password on top of connection dialog if you use bad credentials
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12999
>                 URL: https://issues.jboss.org/browse/JBIDE-12999
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.0.0.CR1
>
>         Attachments: existing-connection-auth-dialog.png, new-connection-auth-dialog.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list