setConnectionFeedbackLabel(CONNECTION_TEST_SUCCESSFUL_COLOR, "Successful");
setPassword(password);
} catch (Exception ex) {
setConnectionFeedbackLabel(CONNECTION_TEST_FAILED_COLOR, "[Fail] " + ex.getMessage());
if (ex instanceof AuthenticationException) {
AuthenticationException authenticationException = (AuthenticationException) ex;
String responseBody = authenticationException.getResponseBody();
if (StringUtils.isNotBlank(responseBody)) {
debugPanel.setVisible(true);
debugTextPane.setText(responseBody);
}
}