org.apache.shiro.web.config
Class IniFilterChainResolverFactory

java.lang.Object
  extended by org.apache.shiro.util.AbstractFactory<T>
      extended by org.apache.shiro.config.IniFactorySupport<FilterChainResolver>
          extended by org.apache.shiro.web.config.IniFilterChainResolverFactory
All Implemented Interfaces:
Factory<FilterChainResolver>

public class IniFilterChainResolverFactory
extends IniFactorySupport<FilterChainResolver>

A Factory that creates FilterChainResolver instances based on Ini configuration.

Since:
1.0

Field Summary
static String FILTERS
           
static String URLS
           
 
Fields inherited from class org.apache.shiro.config.IniFactorySupport
DEFAULT_INI_RESOURCE_PATH
 
Constructor Summary
IniFilterChainResolverFactory()
           
IniFilterChainResolverFactory(Ini ini)
           
IniFilterChainResolverFactory(Ini ini, Map<String,?> defaultBeans)
           
 
Method Summary
protected  void buildChains(FilterChainManager manager, Ini ini)
           
protected  void createChains(Map<String,String> urls, FilterChainManager manager)
           
protected  FilterChainResolver createDefaultInstance()
           
protected  FilterChainResolver createInstance(Ini ini)
           
 FilterConfig getFilterConfig()
           
protected  Map<String,Filter> getFilters(Map<String,String> section, Map<String,?> defaults)
           
protected  void registerFilters(Map<String,Filter> filters, FilterChainManager manager)
           
 void setFilterConfig(FilterConfig filterConfig)
           
 
Methods inherited from class org.apache.shiro.config.IniFactorySupport
createInstance, getIni, loadDefaultClassPathIni, resolveIni, setIni
 
Methods inherited from class org.apache.shiro.util.AbstractFactory
getInstance, isSingleton, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTERS

public static final String FILTERS
See Also:
Constant Field Values

URLS

public static final String URLS
See Also:
Constant Field Values
Constructor Detail

IniFilterChainResolverFactory

public IniFilterChainResolverFactory()

IniFilterChainResolverFactory

public IniFilterChainResolverFactory(Ini ini)

IniFilterChainResolverFactory

public IniFilterChainResolverFactory(Ini ini,
                                     Map<String,?> defaultBeans)
Method Detail

getFilterConfig

public FilterConfig getFilterConfig()

setFilterConfig

public void setFilterConfig(FilterConfig filterConfig)

createInstance

protected FilterChainResolver createInstance(Ini ini)
Specified by:
createInstance in class IniFactorySupport<FilterChainResolver>

createDefaultInstance

protected FilterChainResolver createDefaultInstance()
Specified by:
createDefaultInstance in class IniFactorySupport<FilterChainResolver>

buildChains

protected void buildChains(FilterChainManager manager,
                           Ini ini)

registerFilters

protected void registerFilters(Map<String,Filter> filters,
                               FilterChainManager manager)

getFilters

protected Map<String,Filter> getFilters(Map<String,String> section,
                                        Map<String,?> defaults)

createChains

protected void createChains(Map<String,String> urls,
                            FilterChainManager manager)


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