public interface MutableWebEnvironment extends WebEnvironment
WebEnvironment that supports 'write' operations operations. This mainly exists to shield
WebEnvironment API consumers from modification operations, which are mostly only used during Shiro environment initialization.
| Modifier and Type | Method and Description |
|---|---|
void |
setFilterChainResolver(FilterChainResolver
Sets the
WebEnvironment's
FilterChainResolver.
|
void |
setServletContext(ServletContext servletContext)
Sets the
WebEnvironment's associated
ServletContext instance.
|
void |
setWebSecurityManager(WebSecurityManager
Sets the
WebEnvironment's
WebSecurityManager.
|
getFilterChainResolver, getServletContext, getWebSecurityManagergetSecurityManagervoid setFilterChainResolver(FilterChainResolverfilterChainResolver)
WebEnvironment's
FilterChainResolver.
filterChainResolver - the
WebEnvironment's
FilterChainResolver.
void setServletContext(ServletContext servletContext)
WebEnvironment's associated
ServletContext instance. Invoking this method merely makes the
ServletContext available to the underlying instance - it does not trigger initialization behavior.
servletContext - the
WebEnvironment's associated
ServletContext instance.
void setWebSecurityManager(WebSecurityManagerwebSecurityManager)
WebEnvironment's
WebSecurityManager.
webSecurityManager - the
WebEnvironment's
WebSecurityManager.