[jbosstools-issues] [JBoss JIRA] (JBIDE-22650) When starting an OS3 server adapter from scratch, error is reported although connection can be established

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Jul 6 15:09:00 EDT 2016


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

Viacheslav Kabanovich commented on JBIDE-22650:
-----------------------------------------------

[~jeffmaury], [~adietish], please take a look at the pull request.

The call updateAuthorized(username, token) makes sure that an authorized contection uses TokenAuthorizationStrategy.
When initial authorization prompted user for credentials, the connection was updated by method update(IConnection) with connection instance authenticated in the wizard. It did not update the authorization strategy, so I think that adding the call may help. 

> When starting an OS3 server adapter from scratch, error is reported although connection can be established
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22650
>                 URL: https://issues.jboss.org/browse/JBIDE-22650
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift, server
>    Affects Versions: 4.4.0.Final
>            Reporter: Jeff MAURY
>             Fix For: 4.4.1.AM2
>
>         Attachments: screenshot-1.png
>
>
> ASSERT: create an OS3 connection without password saved
> ASSERT: create an OS3 server adapter
> EXEC: restart Eclipse
> EXEC: start the OS3 server adapter and give correct password
> ASSERT: error is reported [^screenshot-1.png]



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list