Environment mechanisms instead.@Deprecated public class IniSecurityManagerFactory extends IniFactorySupport<SecurityManager>
| Modifier and Type | Field and Description |
|---|---|
static String |
INI_REALM_NAME
Deprecated.
|
static String |
MAIN_SECTION_NAME
Deprecated.
|
static String |
SECURITY_MANAGER_NAME
Deprecated.
|
DEFAULT_INI_RESOURCE_PATH| Constructor and Description |
|---|
IniSecurityManagerFactory()
Deprecated.
Creates a new instance.
|
IniSecurityManagerFactory(org.apache.shiro.config.Ini config)
Deprecated.
|
IniSecurityManagerFactory(String iniResourcePath)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyRealmsToSecurityManager(Collection<Realm> realms,
SecurityManager securityManager)
Deprecated.
|
protected SecurityManager |
createDefaultInstance()
Deprecated.
|
protected Map<String,?> |
createDefaults(org.apache.shiro.config.Ini ini,
org.apache.shiro.config.Ini.Section mainSection)
Deprecated.
|
protected SecurityManager |
createInstance(org.apache.shiro.config.Ini ini)
Deprecated.
|
protected Realm |
createRealm(org.apache.shiro.config.Ini ini)
Deprecated.
Creates a
Realm from the Ini instance containing account data. |
void |
destroy()
Deprecated.
|
Map<String,?> |
getBeans()
Deprecated.
|
org.apache.shiro.config.ReflectionBuilder |
getReflectionBuilder()
Deprecated.
Returns the ReflectionBuilder instance used to create SecurityManagers object graph.
|
protected boolean |
isAutoApplyRealms(SecurityManager securityManager)
Deprecated.
|
void |
setReflectionBuilder(org.apache.shiro.config.ReflectionBuilder builder)
Deprecated.
Sets the ReflectionBuilder that will be used to create the SecurityManager based on the contents of
the Ini configuration.
|
protected boolean |
shouldImplicitlyCreateRealm(org.apache.shiro.config.Ini ini)
Deprecated.
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. |
createInstance, getDefaults, getIni, loadDefaultClassPathIni, resolveIni, setDefaults, setInigetInstance, isSingleton, setSingletonpublic static final String MAIN_SECTION_NAME
public static final String SECURITY_MANAGER_NAME
public static final String INI_REALM_NAME
public IniSecurityManagerFactory()
AbstractFactory.getInstance() JavaDoc for detailed explanation of how an INI
source will be resolved to use to build the instance.public IniSecurityManagerFactory(org.apache.shiro.config.Ini config)
public IniSecurityManagerFactory(String iniResourcePath)
public void destroy()
protected SecurityManager createDefaultInstance()
createDefaultInstance in class IniFactorySupport<SecurityManager>protected SecurityManager createInstance(org.apache.shiro.config.Ini ini)
createInstance in class IniFactorySupport<SecurityManager>protected boolean isAutoApplyRealms(SecurityManager securityManager)
protected Map<String,?> createDefaults(org.apache.shiro.config.Ini ini, org.apache.shiro.config.Ini.Section mainSection)
protected void applyRealmsToSecurityManager(Collection<Realm> realms, SecurityManager securityManager)
protected boolean shouldImplicitlyCreateRealm(org.apache.shiro.config.Ini ini)
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.ini - the Ini instance to inspect for account data resulting in an implicitly created realm.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.protected Realm createRealm(org.apache.shiro.config.Ini ini)
Realm from the Ini instance containing account data.ini - the Ini instance from which to acquire the account data.Ini.public org.apache.shiro.config.ReflectionBuilder getReflectionBuilder()
public void setReflectionBuilder(org.apache.shiro.config.ReflectionBuilder builder)
builder - The ReflectionBuilder used to parse the Ini configuration.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.