Element currentElement = (Element)userNodes.get(i); String name = getChildElementTextValue(currentElement, A_CmsImport.N_NAME); name = OpenCms.getImportExportManager().translateUser(name); String pwd = getChildElementTextValue(currentElement, A_CmsImport.N_PASSWORD); String password = new String(Base64.decodeBase64(pwd.trim().getBytes())); String flags = getChildElementTextValue(currentElement, A_CmsImport.N_FLAGS); String firstname = getChildElementTextValue(currentElement, A_CmsImport.N_FIRSTNAME); String lastname = getChildElementTextValue(currentElement, A_CmsImport.N_LASTNAME); String email = getChildElementTextValue(currentElement, A_CmsImport.N_EMAIL); long dateCreated = Long.parseLong(getChildElementTextValue(currentElement, A_CmsImport.N_DATECREATED)); for (int j = 0; j < groupNodes.size(); j++) { Element currentGroup = (Element)groupNodes.get(j); String userInGroup = getChildElementTextValue(currentGroup, A_CmsImport.N_NAME); userInGroup = OpenCms.getImportExportManager().translateGroup(userInGroup); userGroups.add(userInGroup); importUser(name, flags, password, firstname, lastname, email, dateCreated, userInfo, userGroups);
Element currentElement = (Element)userNodes.get(i); String name = getChildElementTextValue(currentElement, A_CmsImport.N_NAME); name = OpenCms.getImportExportManager().translateUser(name); String pwd = getChildElementTextValue(currentElement, A_CmsImport.N_PASSWORD); String password = new String(Base64.decodeBase64(pwd.trim().getBytes())); String flags = getChildElementTextValue(currentElement, A_CmsImport.N_FLAGS); String firstname = getChildElementTextValue(currentElement, A_CmsImport.N_FIRSTNAME); String lastname = getChildElementTextValue(currentElement, A_CmsImport.N_LASTNAME); String email = getChildElementTextValue(currentElement, A_CmsImport.N_EMAIL); long dateCreated = Long.parseLong(getChildElementTextValue(currentElement, A_CmsImport.N_DATECREATED)); for (int j = 0; j < groupNodes.size(); j++) { Element currentGroup = (Element)groupNodes.get(j); String userInGroup = getChildElementTextValue(currentGroup, A_CmsImport.N_NAME); userInGroup = OpenCms.getImportExportManager().translateGroup(userInGroup); userGroups.add(userInGroup); importUser(name, flags, password, firstname, lastname, email, dateCreated, userInfo, userGroups);