@ -41,9 +41,8 @@ public class HttpWorkspaceConnector implements WorkspaceConnector {
LoginResponseInfoBean bean;
try {
bean = RemoteAuthorityRepository.getInstance().login(createLoginBean(connectionInfo));
} catch (Exception e) {
} finally {
client.closePool();
throw e;
}
return StringUtils.isNotEmpty(bean.getAccessToken());