}
settings.put(JetspeedSerializer.KEY_OVERWRITE_EXISTING,
Boolean.TRUE);
settings.put(JetspeedSerializer.KEY_BACKUP_BEFORE_PROCESS,
Boolean.FALSE);
JetspeedSerializer serializer = null;
if (processPrefs)
serializer = serializerFactory.create(JetspeedSerializerFactory.SECONDARY);
else
serializer = serializerFactory.create(JetspeedSerializerFactory.PRIMARY);
serializer.setDefaultIndent("\t");
serializer.exportData("jetspeedadmin_export_process", exportFileName, settings);
requestContext.getRequest().getSession().setAttribute("file", userName + "_ldapExport.xml");
resultMap.put("link", getDownloadLink(requestContext, "tmpExport.xml", userName));
resultMap.put(STATUS, status);
} catch (Exception e)