public UserManagerImpl() { ServerManager serverManger = ServerManager.getServerManager(); initWorkspace(); String maxUsersStr = serverManger.getDavinciProperty(IDavinciServerConstants.MAX_USERS); if (maxUsersStr != null && maxUsersStr.length() > 0) { this.maxUsers = Integer.valueOf(maxUsersStr).intValue(); } this.personManager = ServerManager.getServerManager().getPersonManager(); }
protected void initWorkspace() { this.baseDirectory = ServerManager.getServerManager().getBaseDirectory(); this.usersCount = this.baseDirectory.list().length; theLogger.info("Setting [user space] to: " + baseDirectory.getAbsolutePath()); }