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

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Tue Nov 6 14:52:18 EST 2012


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

Yahor Radtsevich commented on JBIDE-12999:
------------------------------------------

It looks like only reflections magic can help here:
{code}
Field authField = Authenticator.class.getDeclaredField("theAuthenticator");
authField.setAccessible(true);
Authenticator oldAuth =  (Authenticator)authField.get(null);
Authenticator.setDefault(null);
// bla bla
Authenticator.setDefault(oldAuth);
{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