Package org.apache.shiro.web.session.mgt
Interface WebSessionManager
-
- All Superinterfaces:
org.apache.shiro.session.mgt.SessionManager
- All Known Implementing Classes:
DefaultWebSessionManager,ServletContainerSessionManager
public interface WebSessionManager extends org.apache.shiro.session.mgt.SessionManagerSessionManagerspecific to web-enabled applications.- Since:
- 1.2
- See Also:
ServletContainerSessionManager,DefaultWebSessionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisServletContainerSessions()Returnstrueif session management and storage is managed by the underlying Servlet container orfalseif managed by Shiro directly (called 'native' sessions).
-
-
-
Method Detail
-
isServletContainerSessions
boolean isServletContainerSessions()
Returnstrueif session management and storage is managed by the underlying Servlet container orfalseif 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).- Returns:
trueif session management and storage is managed by the underlying Servlet container orfalseif managed by Shiro directly (called 'native' sessions).
-
-