this.securityProvider = checkNotNull(securityProvider);
this.refreshStrategy = checkNotNull(refreshStrategy);
this.threadSaveCount = checkNotNull(threadSaveCount);
this.sessionSaveCount = getThreadSaveCount();
this.root = contentSession.getLatestRoot();
this.idManager = new IdentifierManager(root);
this.sessionStats = new SessionStats(this);
this.clock = checkNotNull(clock);
this.loginTime = clock.getTime();
this.accessTime = loginTime;
checkNotNull(statisticManager);