Example usage for org.apache.shiro.session.mgt SimpleSessionFactory SimpleSessionFactory

List of usage examples for org.apache.shiro.session.mgt SimpleSessionFactory SimpleSessionFactory

Introduction

In this page you can find the example usage for org.apache.shiro.session.mgt SimpleSessionFactory SimpleSessionFactory.

Prototype

SimpleSessionFactory

Source Link

Usage

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();
}