public ClusteredSessionManager(SessionManager sessionManager) {
this.sessionManager = sessionManager;
String workerName = sessionManager.getNode().getName();
workerName = workerName.replaceAll(" ", "");
HashSessionIdManager sessionIdManager = new HashSessionIdManager();
sessionIdManager.setWorkerName(workerName);
setIdManager(sessionIdManager);
sessionManager.registerListener(new MigrationListener());
}