Environment mechanisms instead.@Deprecated public class WebIniSecurityManagerFactory extends org.apache.shiro.config.IniSecurityManagerFactory
createDefaultInstance() method, to
ensure a web-capable SecurityManager instance is created by default.| Constructor and Description |
|---|
WebIniSecurityManagerFactory()
Deprecated.
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
WebIniSecurityManagerFactory(org.apache.shiro.config.Ini config)
Deprecated.
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.shiro.mgt.SecurityManager |
createDefaultInstance()
Deprecated.
Simply returns
new to ensure a web-capable
SecurityManager is available by default. |
protected Map<String,?> |
createDefaults(org.apache.shiro.config.Ini ini,
org.apache.shiro.config.Ini.Section mainSection)
Deprecated.
|
applyRealmsToSecurityManager, createInstance, createRealm, destroy, getBeans, getReflectionBuilder, isAutoApplyRealms, setReflectionBuilder, shouldImplicitlyCreateRealmcreateInstance, getDefaults, getIni, loadDefaultClassPathIni, resolveIni, setDefaults, setInipublic WebIniSecurityManagerFactory()
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances.public WebIniSecurityManagerFactory(org.apache.shiro.config.Ini config)
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. Uses the given Ini instance to construct the instance.config - the Ini configuration that will be used to construct new web-capable SecurityManager
instances.protected org.apache.shiro.mgt.SecurityManager createDefaultInstance()
new DefaultWebSecurityManager(); to ensure a web-capable
SecurityManager is available by default.createDefaultInstance in class org.apache.shiro.config.IniSecurityManagerFactorySecurityManager instance.Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.