Uses of Interface
org.apache.shiro.web.env.WebEnvironment
-
Packages that use WebEnvironment Package Description org.apache.shiro.guice.web org.apache.shiro.web.env Web-specificEnvironment
implementation and support.org.apache.shiro.web.util -
-
Uses of WebEnvironment in org.apache.shiro.guice.web
Method parameters in org.apache.shiro.guice.web with type arguments of type WebEnvironment Modifier and Type Method Description protected void
ShiroWebModule. bindWebEnvironment(com.google.inject.binder.AnnotatedBindingBuilder<? super WebEnvironment> bind)
-
Uses of WebEnvironment in org.apache.shiro.web.env
Subinterfaces of WebEnvironment in org.apache.shiro.web.env Modifier and Type Interface Description interface
MutableWebEnvironment
AWebEnvironment
that supports 'write' operations operations.Classes in org.apache.shiro.web.env that implement WebEnvironment Modifier and Type Class Description class
DefaultWebEnvironment
DefaultWebEnvironment
implementation based on a backingMap
instance.class
IniWebEnvironment
class
ResourceBasedWebEnvironment
Abstract implementation forWebEnvironment
s that can be initialized via resource paths (config files).Methods in org.apache.shiro.web.env that return WebEnvironment Modifier and Type Method Description protected WebEnvironment
EnvironmentLoader. createEnvironment(ServletContext sc)
Instantiates aWebEnvironment
based on the specified ServletContext.protected WebEnvironment
EnvironmentLoader. determineWebEnvironment(ServletContext servletContext)
Return the WebEnvironment implementation class to use, based on the order of: A custom WebEnvironment class - specified in theservletContext
EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY
propertyServiceLoader.load(WebEnvironment.class)
- (if more then one instance is found aConfigurationException
will be thrown A call toEnvironmentLoader.getDefaultWebEnvironmentClass()
(default:IniWebEnvironment
)WebEnvironment
EnvironmentLoader. initEnvironment(ServletContext servletContext)
Initializes Shiro'sWebEnvironment
instance for the specifiedServletContext
based on theEnvironmentLoader.CONFIG_LOCATIONS_PARAM
value.Methods in org.apache.shiro.web.env that return types with arguments of type WebEnvironment Modifier and Type Method Description protected Class<? extends WebEnvironment>
EnvironmentLoader. getDefaultWebEnvironmentClass()
Returns the default WebEnvironment class, which is unless overridden:IniWebEnvironment
.Methods in org.apache.shiro.web.env with parameters of type WebEnvironment Modifier and Type Method Description protected void
EnvironmentLoader. customizeEnvironment(WebEnvironment environment)
Any additional customization of the Environment can be by overriding this method.protected void
EnvironmentLoader. finalizeEnvironment(WebEnvironment environment)
Any additional cleanup of the Environment can be done by overriding this method. -
Uses of WebEnvironment in org.apache.shiro.web.util
Methods in org.apache.shiro.web.util that return WebEnvironment Modifier and Type Method Description static WebEnvironment
WebUtils. getRequiredWebEnvironment(ServletContext sc)
Find the ShiroWebEnvironment
for this web application, which is typically loaded via theEnvironmentLoaderListener
.static WebEnvironment
WebUtils. getWebEnvironment(ServletContext sc)
Find the ShiroWebEnvironment
for this web application, which is typically loaded viaEnvironmentLoaderListener
.static WebEnvironment
WebUtils. getWebEnvironment(ServletContext sc, String attrName)
Find the ShiroWebEnvironment
for this web application.
-