/** * @see org.apromore.filestore.client.FileStoreService#resetUserPassword(String, String) * {@inheritDoc} */ @Override @SuppressWarnings("unchecked") public boolean resetUserPassword(String username, String password) { LOGGER.debug("Preparing Reset the Users Password....."); ResetUserPasswordInputMsgType msg = new ResetUserPasswordInputMsgType(); msg.setUsername(username); msg.setPassword(password); JAXBElement<ResetUserPasswordInputMsgType> request = WS_CLIENT_FACTORY.createResetUserPasswordRequest(msg); JAXBElement<ResetUserPasswordOutputMsgType> response = (JAXBElement<ResetUserPasswordOutputMsgType>) webServiceTemplate.marshalSendAndReceive(request); return response.getValue().isSuccess(); }