Uses of Interface
org.apache.shiro.web.env.WebEnvironment
-
Packages that use WebEnvironment Package Description org.apache.shiro.web.env Web-specificEnvironmentimplementation and support.org.apache.shiro.web.util -
-
Uses of WebEnvironment in org.apache.shiro.web.env
Subinterfaces of WebEnvironment in org.apache.shiro.web.env Modifier and Type Interface Description interfaceMutableWebEnvironmentAWebEnvironmentthat supports 'write' operations operations.Classes in org.apache.shiro.web.env that implement WebEnvironment Modifier and Type Class Description classDefaultWebEnvironmentDefaultWebEnvironmentimplementation based on a backingMapinstance.classIniWebEnvironmentclassResourceBasedWebEnvironmentAbstract implementation forWebEnvironments 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 WebEnvironmentEnvironmentLoader. createEnvironment(javax.servlet.ServletContext sc)Instantiates aWebEnvironmentbased on the specified ServletContext.protected WebEnvironmentEnvironmentLoader. determineWebEnvironment(javax.servlet.ServletContext servletContext)Return the WebEnvironment implementation class to use, based on the order of: A custom WebEnvironment class - specified in theservletContextEnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEYpropertyServiceLoader.load(WebEnvironment.class)- (if more then one instance is found aConfigurationExceptionwill be thrown A call toEnvironmentLoader.getDefaultWebEnvironmentClass()(default:IniWebEnvironment)WebEnvironmentEnvironmentLoader. initEnvironment(javax.servlet.ServletContext servletContext)Initializes Shiro'sWebEnvironmentinstance for the specifiedServletContextbased on theEnvironmentLoader.CONFIG_LOCATIONS_PARAMvalue.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 voidEnvironmentLoader. customizeEnvironment(WebEnvironment environment)Any additional customization of the Environment can be by overriding this method.protected voidEnvironmentLoader. 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 WebEnvironmentWebUtils. getRequiredWebEnvironment(javax.servlet.ServletContext sc)Find the ShiroWebEnvironmentfor this web application, which is typically loaded via theEnvironmentLoaderListener.static WebEnvironmentWebUtils. getWebEnvironment(javax.servlet.ServletContext sc)Find the ShiroWebEnvironmentfor this web application, which is typically loaded viaEnvironmentLoaderListener.static WebEnvironmentWebUtils. getWebEnvironment(javax.servlet.ServletContext sc, String attrName)Find the ShiroWebEnvironmentfor this web application.
-