Package 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-specificEnvironment
instance, used in web applications.- Since:
- 1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilterChainResolver
getFilterChainResolver()
Returns the web application'sFilterChainResolver
if one has been configured ornull
if one is not available.ServletContext
getServletContext()
Returns theServletContext
associated with thisWebEnvironment
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'sFilterChainResolver
if one has been configured ornull
if one is not available.- Returns:
- the web application's
FilterChainResolver
if one has been configured ornull
if one is not available.
-
getServletContext
ServletContext getServletContext()
Returns theServletContext
associated with thisWebEnvironment
instance. A web application typically only has a singleWebEnvironment
associated with itsServletContext
.- Returns:
- the
ServletContext
associated with thisWebEnvironment
instance.
-
getWebSecurityManager
WebSecurityManager getWebSecurityManager()
Returns the web application's security manager instance.- Returns:
- the web application's security manager instance.
-
-