Environment
mechanisms instead.@Deprecated public class WebIniSecurityManagerFactory extends IniSecurityManagerFactory
createDefaultInstance()
method, to
ensure a web-capable SecurityManager
instance is created by default.INI_REALM_NAME, MAIN_SECTION_NAME, SECURITY_MANAGER_NAME
DEFAULT_INI_RESOURCE_PATH
Constructor and Description |
---|
WebIniSecurityManagerFactory()
Deprecated.
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
WebIniSecurityManagerFactory(Ini config)
Deprecated.
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
Modifier and Type | Method and Description |
---|---|
protected SecurityManager |
createDefaultInstance()
Deprecated.
Simply returns
new to ensure a web-capable
SecurityManager is available by default. |
protected Map<String,?> |
createDefaults(Ini ini,
Ini.Section mainSection)
Deprecated.
|
applyRealmsToSecurityManager, createInstance, createRealm, destroy, getBeans, getReflectionBuilder, isAutoApplyRealms, setReflectionBuilder, shouldImplicitlyCreateRealm
createInstance, getDefaults, getIni, loadDefaultClassPathIni, resolveIni, setDefaults, setIni
getInstance, isSingleton, setSingleton
public WebIniSecurityManagerFactory()
WebIniSecurityManagerFactory
instance which will construct web-capable
SecurityManager
instances.public WebIniSecurityManagerFactory(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 SecurityManager createDefaultInstance()
new DefaultWebSecurityManager
();
to ensure a web-capable
SecurityManager
is available by default.createDefaultInstance
in class IniSecurityManagerFactory
SecurityManager
instance.protected Map<String,?> createDefaults(Ini ini, Ini.Section mainSection)
createDefaults
in class IniSecurityManagerFactory
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.