| 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
Files or
text streams. |
| 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 SecurityManager |
IniSecurityManagerFactory.createInstance(Ini ini) |
protected abstract T |
IniFactorySupport.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. |
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.