Package | Description |
---|---|
org.apache.shiro.config |
Components that support configuring Shiro in any application.
|
org.apache.shiro.realm.text |
Realms that acquire security data from text-based data sources such as
File s or
text streams. |
org.apache.shiro.web.config |
Web-specific implementation extensions to the
org.apache.shiro.config components. |
org.apache.shiro.web.env |
Web-specific
Environment implementation and support. |
org.apache.shiro.web.servlet |
Shiro-specific implementations of the Servlet API (Servlet Filters, et al).
|
Modifier and Type | Method and Description |
---|---|
static Ini |
Ini.fromResourcePath(String resourcePath)
Creates a new
Ini instance loaded with the INI-formatted data in the resource at the given path. |
Ini |
IniFactorySupport.getIni() |
static Ini |
IniFactorySupport.loadDefaultClassPathIni()
Returns a new Ini instance created from the default
classpath:shiro.ini file, or null if
the file does not exist. |
protected Ini |
IniFactorySupport.resolveIni()
Tries to resolve the Ini instance to use for configuration.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,?> |
IniSecurityManagerFactory.createDefaults(Ini ini,
Ini.Section mainSection) |
protected abstract T |
IniFactorySupport.createInstance(Ini ini) |
protected SecurityManager |
IniSecurityManagerFactory.createInstance(Ini ini) |
protected Realm |
IniSecurityManagerFactory.createRealm(Ini ini)
Creates a
Realm from the Ini instance containing account data. |
void |
IniFactorySupport.setIni(Ini ini) |
protected boolean |
IniSecurityManagerFactory.shouldImplicitlyCreateRealm(Ini ini)
Returns
true if the Ini contains account data and a Realm should be implicitly
created to reflect the account data, false if no realm should be implicitly
created. |
Constructor and Description |
---|
Ini(Ini defaults)
Creates a new
Ini instance with the specified defaults. |
IniFactorySupport(Ini ini) |
IniSecurityManagerFactory(Ini config) |
Modifier and Type | Method and Description |
---|---|
Ini |
IniRealm.getIni()
Returns the Ini instance used to configure this realm.
|
Modifier and Type | Method and Description |
---|---|
void |
IniRealm.setIni(Ini ini)
Sets the Ini instance used to configure this realm.
|
Constructor and Description |
---|
IniRealm(Ini ini)
This constructor will immediately process the definitions in the
Ini argument. |
Modifier and Type | Method and Description |
---|---|
protected void |
IniFilterChainResolverFactory.buildChains(FilterChainManager manager,
Ini ini) |
protected Map<String,?> |
WebIniSecurityManagerFactory.createDefaults(Ini ini,
Ini.Section mainSection) |
protected FilterChainResolver |
IniFilterChainResolverFactory.createInstance(Ini ini) |
Constructor and Description |
---|
IniFilterChainResolverFactory(Ini ini) |
IniFilterChainResolverFactory(Ini ini,
Map<String,?> defaultBeans) |
WebIniSecurityManagerFactory(Ini config)
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
Modifier and Type | Method and Description |
---|---|
protected Ini |
IniWebEnvironment.createIni(String configLocation,
boolean required)
Creates an
Ini instance reflecting the specified path, or null if the path does not exist and
is not required. |
protected Ini |
IniWebEnvironment.getDefaultIni() |
Ini |
IniWebEnvironment.getIni()
Returns the
Ini instance reflecting this WebEnvironment's configuration. |
protected Ini |
IniWebEnvironment.getSpecifiedIni(String[] configLocations) |
Modifier and Type | Method and Description |
---|---|
void |
IniWebEnvironment.setIni(Ini ini)
Allows for configuration via a direct
Ini instance instead of via
config locations . |
Modifier and Type | Method and Description |
---|---|
protected Ini |
IniShiroFilter.convertConfigToIni(String config)
Deprecated.
|
protected Ini |
IniShiroFilter.convertPathToIni(String path)
Deprecated.
Converts the specified file path to an
Ini instance. |
protected Ini |
IniShiroFilter.getServletContextIniResource(String servletContextPath)
Deprecated.
Returns the INI instance reflecting the specified servlet context resource path or
null if no
resource was found. |
protected Ini |
IniShiroFilter.loadIniFromConfig()
Deprecated.
|
protected Ini |
IniShiroFilter.loadIniFromPath()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IniShiroFilter.applyFilterChainResolver(Ini ini,
Map<String,?> defaults)
Deprecated.
|
protected Map<String,?> |
IniShiroFilter.applySecurityManager(Ini ini)
Deprecated.
|
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.