List of usage examples for org.apache.shiro.session.mgt SimpleSessionFactory SimpleSessionFactory
SimpleSessionFactory
From source file:com.github.richardwilly98.esdms.shiro.EsSessionManager.java
License:Open Source License
@Inject public EsSessionManager(SessionDAO sessionDAO) { log.debug("*** constructor ***"); this.setDeleteInvalidSessions(true); this.setSessionFactory(new SimpleSessionFactory()); this.setSessionDAO(sessionDAO); }
From source file:uk.q3c.krail.core.shiro.VaadinSessionManager.java
License:Apache License
/** * Constructs the VaadinSessionManager./*from ww w.j a v a 2s . c o m*/ */ @Inject protected VaadinSessionManager(VaadinSessionProvider sessionProvider) { this.sessionProvider = sessionProvider; sessionFactory = new SimpleSessionFactory(); }