[
https://jira.jboss.org/browse/JBIDE-7407?page=com.atlassian.jira.plugin.s...
]
Andre Dietisheim resolved JBIDE-7407.
-------------------------------------
Resolution: Done
catched DeltaCloudAuthException only in the core. Added error reporting dialog to the UI.
Committed to TRUNK (Beta2)
Regression testing connection in Deltacloud New Cloud Connection
dialog
-----------------------------------------------------------------------
Key: JBIDE-7407
URL:
https://jira.jboss.org/browse/JBIDE-7407
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta1
Reporter: Jeff Johnston
Assignee: Andre Dietisheim
Fix For: 3.2.0.Beta2
When creating a cloud connection, one is able to test the connection (i.e. that the
username and password are valid) via pushing the Test button. If a bad username and
password is entered, the dialog will respond that the test failed. This no longer works
in that all combinations report success..
I have traced the problem to the removal of the DeltaCloudAuthException being thrown in
the DeltaCloudClient code when the status code is 403 (forbidden). The DeltaCloud method
testConnection() is waiting for this exception and either it should be thrown or some
other code is needed to replace it. to determine that authorization has failed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira