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
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 |
createDefaults(Ini
|
applyRealmsToSecurityManager, createInstance, createRealm, getBeans, isAutoApplyRealms, shouldImplicitlyCreateRealmcreateInstance, getIni, loadDefaultClassPathIni, resolveIni, setInigetInstance, isSingleton, setSingletonpublic WebIniSecurityManagerFactory()
WebIniSecurityManagerFactory instance which will construct web-capable
SecurityManager instances.
public WebIniSecurityManagerFactory(Iniconfig)
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 SecurityManagercreateDefaultInstance()
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)