Class WebIniSecurityManagerFactory
java.lang.Object
org.apache.shiro.util.AbstractFactory<org.apache.shiro.mgt.SecurityManager>
org.apache.shiro.ini.IniFactorySupport<org.apache.shiro.mgt.SecurityManager>
org.apache.shiro.ini.IniSecurityManagerFactory
org.apache.shiro.web.config.WebIniSecurityManagerFactory
- All Implemented Interfaces:
org.apache.shiro.lang.util.Factory<org.apache.shiro.mgt.SecurityManager>
@Deprecated
public class WebIniSecurityManagerFactory
extends org.apache.shiro.ini.IniSecurityManagerFactory
Deprecated.
Differs from the parent class only in the
createDefaultInstance() method, to
ensure a web-capable SecurityManager instance is created by default.- Since:
- 1.0
-
Field Summary
Fields inherited from class org.apache.shiro.ini.IniSecurityManagerFactory
INI_REALM_NAME, MAIN_SECTION_NAME, SECURITY_MANAGER_NAMEFields inherited from class org.apache.shiro.ini.IniFactorySupport
DEFAULT_INI_RESOURCE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a newWebIniSecurityManagerFactoryinstance which will construct web-capableSecurityManagerinstances.WebIniSecurityManagerFactory(org.apache.shiro.config.Ini config) Deprecated.Creates a newWebIniSecurityManagerFactoryinstance which will construct web-capableSecurityManagerinstances. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.shiro.mgt.SecurityManagerDeprecated.Simply returnsnewto ensure a web-capableDefaultWebSecurityManager();SecurityManageris available by default.createDefaults(org.apache.shiro.config.Ini ini, org.apache.shiro.config.Ini.Section mainSection) Deprecated.Methods inherited from class org.apache.shiro.ini.IniSecurityManagerFactory
applyRealmsToSecurityManager, createInstance, createRealm, destroy, getBeans, getReflectionBuilder, isAutoApplyRealms, setReflectionBuilder, shouldImplicitlyCreateRealmMethods inherited from class org.apache.shiro.ini.IniFactorySupport
createInstance, getDefaults, getIni, loadDefaultClassPathIni, resolveIni, setDefaults, setIniMethods inherited from class org.apache.shiro.util.AbstractFactory
getInstance, isSingleton, setSingleton
-
Constructor Details
-
WebIniSecurityManagerFactory
public WebIniSecurityManagerFactory()Deprecated.Creates a newWebIniSecurityManagerFactoryinstance which will construct web-capableSecurityManagerinstances. -
WebIniSecurityManagerFactory
Deprecated.Creates a newWebIniSecurityManagerFactoryinstance which will construct web-capableSecurityManagerinstances. Uses the givenIniinstance to construct the instance.- Parameters:
config- the Ini configuration that will be used to construct new web-capableSecurityManagerinstances.
-
-
Method Details
-
createDefaultInstance
Deprecated.Simply returnsnewto ensure a web-capableDefaultWebSecurityManager();SecurityManageris available by default.- Overrides:
createDefaultInstancein classorg.apache.shiro.ini.IniSecurityManagerFactory- Returns:
- a new web-capable
SecurityManagerinstance.
-
createDefaults
protected Map<String,?> createDefaults(org.apache.shiro.config.Ini ini, org.apache.shiro.config.Ini.Section mainSection) Deprecated.- Overrides:
createDefaultsin classorg.apache.shiro.ini.IniSecurityManagerFactory
-
Environmentmechanisms instead.