Interface WebEnvironment

All Superinterfaces:
org.apache.shiro.env.Environment
All Known Subinterfaces:
MutableWebEnvironment
All Known Implementing Classes:
DefaultWebEnvironment, IniWebEnvironment, ResourceBasedWebEnvironment

public interface WebEnvironment extends org.apache.shiro.env.Environment
A web-specific Environment instance, used in web applications.
Since:
1.2
  • Method Details

    • getFilterChainResolver

      Returns the web application's FilterChainResolver if one has been configured or null if one is not available.
      Returns:
      the web application's FilterChainResolver if one has been configured or null if one is not available.
    • getServletContext

      javax.servlet.ServletContext getServletContext()
      Returns the ServletContext associated with this WebEnvironment instance. A web application typically only has a single WebEnvironment associated with its ServletContext.
      Returns:
      the ServletContext associated with this WebEnvironment instance.
    • getWebSecurityManager

      Returns the web application's security manager instance.
      Returns:
      the web application's security manager instance.
    • getShiroFilterConfiguration

      Returns the configuration object used to configure the ShiroFilter.
      Returns:
      the configuration object used to configure the ShiroFilter.