Example usage for org.apache.shiro.web.session.mgt ServletContainerSessionManager ServletContainerSessionManager

List of usage examples for org.apache.shiro.web.session.mgt ServletContainerSessionManager ServletContainerSessionManager

Introduction

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

Prototype

public ServletContainerSessionManager() 

Source Link

Usage

From source file:com.cuisongliu.springboot.shiro.autoconfig.ShiroAutoConfig.java

License:Open Source License

/**
 * spring session?
 */
@Bean
public ServletContainerSessionManager servletContainerSessionManager() {
    return new ServletContainerSessionManager();
}

From source file:io.bootique.shiro.web.ShiroWebModule.java

License:Apache License

@Provides
@Singleton
SessionManager provideSessionManager() {
    return new ServletContainerSessionManager();
}

From source file:org.debux.webmotion.shiro.ShiroListener.java

License:Open Source License

/**
 * @return session manager to how store the user
 *//*w w w.ja v a 2  s  . co  m*/
protected SessionManager getSessionManager() {
    ServletContainerSessionManager sessionManager = new ServletContainerSessionManager();
    return sessionManager;
}