org.apache.shiro.web.env
Interface WebEnvironment

All Superinterfaces:
Environment
All Known Subinterfaces:
MutableWebEnvironment
All Known Implementing Classes:
DefaultWebEnvironment, IniWebEnvironment, ResourceBasedWebEnvironment

public interface WebEnvironment
extends Environment

A web-specific Environment instance, used in web applications.

Since:
1.2

Method Summary
 FilterChainResolver getFilterChainResolver()
          Returns the web application's FilterChainResolver if one has been configured or null if one is not available.
 ServletContext getServletContext()
          Returns the ServletContext associated with this WebEnvironment instance.
 WebSecurityManager getWebSecurityManager()
          Returns the web application's security manager instance.
 
Methods inherited from interface org.apache.shiro.env.Environment
getSecurityManager
 

Method Detail

getFilterChainResolver

FilterChainResolver 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

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

WebSecurityManager getWebSecurityManager()
Returns the web application's security manager instance.

Returns:
the web application's security manager instance.


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