Package org.apache.shiro.web.mgt
Interface WebSecurityManager
-
- All Superinterfaces:
org.apache.shiro.authc.Authenticator
,org.apache.shiro.authz.Authorizer
,org.apache.shiro.mgt.SecurityManager
,org.apache.shiro.session.mgt.SessionManager
- All Known Implementing Classes:
DefaultWebSecurityManager
public interface WebSecurityManager extends org.apache.shiro.mgt.SecurityManager
This interface represents aSecurityManager
implementation that can used in web-enabled applications.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isHttpSessionMode()
Security information needs to be retained from request to request, so Shiro makes use of a session for this.
-
-
-
Method Detail
-
isHttpSessionMode
boolean isHttpSessionMode()
Security information needs to be retained from request to request, so Shiro makes use of a session for this. Typically, a security manager will use the servlet container's HTTP session but custom session implementations, for example based on EhCache, may also be used. This method indicates whether the security manager is using the HTTP session or not.- Returns:
true
if the security manager is using the HTTP session; otherwise,false
.
-
-