Example usage for org.apache.shiro.session.mgt.eis CachingSessionDAO getActiveSessionsCache

List of usage examples for org.apache.shiro.session.mgt.eis CachingSessionDAO getActiveSessionsCache

Introduction

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

Prototype

public Cache<Serializable, Session> getActiveSessionsCache() 

Source Link

Document

Returns the cache instance to use for storing active sessions.

Usage

From source file:org.sonatype.nexus.security.StatelessAndStatefulWebSessionManagerEhCacheTest.java

License:Open Source License

protected void initCache(CachingSessionDAO sessionDAO) {
    super.initCache(sessionDAO);

    // verify ehCache was set for this test
    MatcherAssert.assertThat(sessionDAO.getActiveSessionsCache(), is(instanceOf(EhCache.class)));
}