void (Element element) { setWebServerConfigId(StringUtil.notNullize(element.getAttributeValue(WEB_SERVER_CONFIG_ID))); setWebServerConfigName(StringUtil.notNullize(element.getAttributeValue(WEB_SERVER_CONFIG_NAME))); myCredentialsId = StringUtil.notNullize(element.getAttributeValue(WEB_SERVER_CREDENTIALS_ID)); if (StringUtil.isEmpty(myCredentialsId)) { // loading old settings -> convert previously saved credentials to id final RemoteCredentialsHolder credentials = new RemoteCredentialsHolder(); credentials.load(element); myCredentialsId = constructSftpCredentialsFullPath(credentials); } }