identity2 = ManagerFactory.getManager().createAndPersistIdentity("foo2", u2, OLATAuthenticationController.PROVIDER_OLAT, "foo2", Encoder.encrypt("hashipassi2"));
User u3 = UserManager.getInstance().createAndPersistUser("fi3", "la3", "user3@bla.com");
identity3 = ManagerFactory.getManager().createAndPersistIdentity("foo3", u3, OLATAuthenticationController.PROVIDER_OLAT, "foo3", Encoder.encrypt("hashipassi3"));
// Setup for code-points
ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
ActiveMQQueue queue = new ActiveMQQueue("olat/codepoints");
codepointServer_ = new JMSCodepointServer(connectionFactory, queue, CODEPOINT_SERVER_ID);
CodepointInstaller.installCodepointServer(codepointServer_);
System.out.println("Codepoint server startet");