org.apache.shiro.web.env
Interface MutableWebEnvironment

All Superinterfaces:
Environment, WebEnvironment
All Known Implementing Classes:
DefaultWebEnvironment, IniWebEnvironment, ResourceBasedWebEnvironment

public interface MutableWebEnvironment
extends WebEnvironment

A 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.

Since:
1.2

Method Summary
 void setFilterChainResolver(FilterChainResolver filterChainResolver)
          Sets the WebEnvironment's FilterChainResolver.
 void setServletContext(ServletContext servletContext)
          Sets the WebEnvironment's associated ServletContext instance.
 void setWebSecurityManager(WebSecurityManager webSecurityManager)
          Sets the WebEnvironment's WebSecurityManager.
 
Methods inherited from interface org.apache.shiro.web.env.WebEnvironment
getFilterChainResolver, getServletContext, getWebSecurityManager
 
Methods inherited from interface org.apache.shiro.env.Environment
getSecurityManager
 

Method Detail

setFilterChainResolver

void setFilterChainResolver(FilterChainResolver filterChainResolver)
Sets the WebEnvironment's FilterChainResolver.

Parameters:
filterChainResolver - the WebEnvironment's FilterChainResolver.

setServletContext

void setServletContext(ServletContext servletContext)
Sets the WebEnvironment's associated ServletContext instance. Invoking this method merely makes the ServletContext available to the underlying instance - it does not trigger initialization behavior.

Parameters:
servletContext - the WebEnvironment's associated ServletContext instance.

setWebSecurityManager

void setWebSecurityManager(WebSecurityManager webSecurityManager)
Sets the WebEnvironment's WebSecurityManager.

Parameters:
webSecurityManager - the WebEnvironment's WebSecurityManager.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.