perfsonar-dev - perfsonar: r3359 - trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin
Subject: perfsonar development work
List archive
perfsonar: r3359 - trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin
Chronological Thread
- From:
- To:
- Subject: perfsonar: r3359 - trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin
- Date: Thu, 14 Feb 2008 05:27:28 -0500
Author: mac
Date: 2008-02-14 05:27:28 -0500 (Thu, 14 Feb 2008)
New Revision: 3359
Modified:
trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin/LSWizardHandler.java
Log:
add wizard handler
Modified:
trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin/LSWizardHandler.java
===================================================================
---
trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin/LSWizardHandler.java
2008-02-14 10:26:25 UTC (rev 3358)
+++
trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin/LSWizardHandler.java
2008-02-14 10:27:28 UTC (rev 3359)
@@ -419,20 +419,19 @@
manager.getCollection(dbCollection).addDocument(file,
username);
file = new
File(this.getClass().getResource("/perfsonar/conf/LSStore-control.xml").toURI());
manager.getCollection(dbCollection).addDocument(file,
username);
-
- //Modifying the admin user password
- //manager.modifyUser("admin", newAdminPass, null, null);
-
- serviceProperties.storeProperties();
-
- properties.storeToXML(
- new FileOutputStream(
- new File(ServicePath
- + WizardPropertiesPath)),
- " Last Modification "
- +
Calendar.getInstance().getTime().toString());
}
+ //Modifying the admin user password
+ //manager.modifyUser("admin", newAdminPass, null, null);
+
+ //mac - moved here, check it!!
+ serviceProperties.storeProperties();
+
}
+
+ properties.storeToXML(new FileOutputStream(new File(ServicePath
+ + WizardPropertiesPath)), " Last Modification "
+ + Calendar.getInstance().getTime().toString());
+
}
- perfsonar: r3359 - trunk/geant2_java-xml-ls/src/main/java/org/perfsonar/service/lookupService/xmlType/webadmin, svnlog, 02/14/2008
Archive powered by MHonArc 2.6.16.