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 filterChainResolver)
Sets the
WebEnvironment's FilterChainResolver. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
Sets the
WebEnvironment's associated ServletContext instance. |
void |
setShiroFilterConfiguration(ShiroFilterConfiguration filterConfiguration)
Sets the
WebEnvironment's ShiroFilterConfiguration. |
void |
setWebSecurityManager(WebSecurityManager webSecurityManager)
Sets the
WebEnvironment's WebSecurityManager. |
getFilterChainResolver, getServletContext, getShiroFilterConfiguration, getWebSecurityManagervoid setFilterChainResolver(FilterChainResolver filterChainResolver)
WebEnvironment's FilterChainResolver.filterChainResolver - the WebEnvironment's FilterChainResolver.void setServletContext(javax.servlet.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(WebSecurityManager webSecurityManager)
WebEnvironment's WebSecurityManager.webSecurityManager - the WebEnvironment's WebSecurityManager.void setShiroFilterConfiguration(ShiroFilterConfiguration filterConfiguration)
WebEnvironment's ShiroFilterConfiguration.filterConfiguration - the WebEnvironment's ShiroFilterConfiguration.Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.