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_NAMEDEFAULT_INI_RESOURCE_PATH| Constructor and Description |
|---|
WebIniSecurityManagerFactory()
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
WebIniSecurityManagerFactory(Ini config)
Creates a new
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances. |
| Modifier and Type | Method and Description |
|---|---|
protected SecurityManager |
createDefaultInstance()
Simply returns
new to ensure a web-capable
SecurityManager is available by default. |
protected Map<String,?> |
createDefaults(Ini ini,
Ini.Section mainSection) |
applyRealmsToSecurityManager, createInstance, createRealm, getBeans, isAutoApplyRealms, shouldImplicitlyCreateRealmcreateInstance, getIni, loadDefaultClassPathIni, resolveIni, setInigetInstance, isSingleton, setSingletonpublic 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 IniSecurityManagerFactorySecurityManager instance.protected Map<String,?> createDefaults(Ini ini, Ini.Section mainSection)
createDefaults in class IniSecurityManagerFactoryCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.