XPath xpaDetails = XPath.newInstance("./@details");
return LoginResult.createErrorLogin(result, xpaDetails.valueOf(node), xpaWait.valueOf(node));
}
} catch (JDOMException e) {
log.error("Error login", e);
throw new APIException("Error parsing XML result", e);
}
return LoginResult.createErrorLogin(null, null, null);
}