public interface WebSessionManager extends SessionManager
SessionManager
specific to web-enabled applications.ServletContainerSessionManager
,
DefaultWebSessionManager
Modifier and Type | Method and Description |
---|---|
boolean |
isServletContainerSessions()
Returns
true if session management and storage is managed by the underlying Servlet container or
false if managed by Shiro directly (called 'native' sessions). |
getSession, start
boolean isServletContainerSessions()
true
if session management and storage is managed by the underlying Servlet container or
false
if managed by Shiro directly (called 'native' sessions).
If sessions are enabled, Shiro can make use of Sessions to retain security information from
request to request. This method indicates whether Shiro would use the Servlet container sessions to fulfill its
needs, or if it would use its own native session management instead (which can support enterprise features
- like distributed caching - in a container-independent manner).true
if session management and storage is managed by the underlying Servlet container or
false
if managed by Shiro directly (called 'native' sessions).Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.