public void init() {
log.debug("OverEncryption Server initialization");
try{
XMLConfiguration config = new XMLConfiguration("OverEncrypt.cfg.xml");
//Initialized session manager
sessionManager = new SessionManager();
//Server WebDAV configuration
if(config.getString("webdav-server.context") != null) ServerConfiguration.setCONTEXT(config.getString("webdav-server.context"));
if(config.getString("webdav-server.realm") != null) ServerConfiguration.setREALM(config.getString("webdav-server.realm"));
if(config.getString("webdav-server.filesystem-root") != null) ServerConfiguration.setWebDAVrootPath(config.getString("webdav-server.filesystem-root").replace("~", System.getProperty("user.home")));
if(config.getString("webdav-server.temp-folder") != null) ServerConfiguration.setTempFilePath(config.getString("webdav-server.temp-folder"));