Class ResourceBasedWebEnvironment

java.lang.Object
org.apache.shiro.env.DefaultEnvironment
org.apache.shiro.web.env.DefaultWebEnvironment
org.apache.shiro.web.env.ResourceBasedWebEnvironment
All Implemented Interfaces:
org.apache.shiro.config.ResourceConfigurable, org.apache.shiro.env.Environment, org.apache.shiro.env.NamedObjectEnvironment, org.apache.shiro.lang.util.Destroyable, MutableWebEnvironment, WebEnvironment
Direct Known Subclasses:
IniWebEnvironment

public abstract class ResourceBasedWebEnvironment extends DefaultWebEnvironment implements org.apache.shiro.config.ResourceConfigurable
Abstract implementation for WebEnvironments that can be initialized via resource paths (config files).
Since:
1.2
  • Constructor Details

  • Method Details

    • getConfigLocations

    • setConfigLocations

      public void setConfigLocations(String locations)
      Specified by:
      setConfigLocations in interface org.apache.shiro.config.ResourceConfigurable
    • setConfigLocations

      public void setConfigLocations(String[] configLocations)
      Specified by:
      setConfigLocations in interface org.apache.shiro.config.ResourceConfigurable