listOfModules = createModuleInstances(moduleClassNames);
}
// choose the storage you want to use
//StorageProviderRegistry providerRegistry = new JcrStorageProviderRegistry();
StorageProviderRegistry providerRegistry = new MemoryStorageProviderRegistry();
final Entity adminJID = EntityImpl.parseUnchecked("admin@" + domain);
final AccountManagement accountManagement = (AccountManagement) providerRegistry
.retrieve(AccountManagement.class);
String initialPassword = System.getProperty("vysper.admin.initial.password", "CHOOSE SECURE PASSWORD");
if (!accountManagement.verifyAccountExists(adminJID)) {
accountManagement.addUser(adminJID, initialPassword);