LoggingManager.initSimpleLoggingManagement();
System.out.println("PORTAL: no log configuration found, simple log is used");
}
BeanFactory f = BeanFactoryHelper.getBeanFactory();
PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
Properties p = getProperties();
ppc.setProperties(p);
ppc.postProcessBeanFactory((ConfigurableListableBeanFactory)f);
INSTANCE = (Portal)f.getBean("portal", Portal.class);
INSTANCE.setServerServicesProvider(ServerServicesProvider.get(INSTANCE.getMasterServer()));
UnifiedAuthentificationService.getInstance().setLoginInfo(p.getProperty("woj.server.user"), p.getProperty("woj.server.password"), getVersion());
UnifiedAuthentificationService.getInstance().setUAK(INSTANCE.getUAK());
}