public class SecurityConfig extends Object
AccessManagerConfig
and LoginModuleConfig
.Constructor and Description |
---|
SecurityConfig(String name,
SecurityManagerConfig smc,
AccessManagerConfig amc,
LoginModuleConfig lmc)
Creates a new security configuration.
|
Modifier and Type | Method and Description |
---|---|
AccessManagerConfig |
getAccessManagerConfig()
Returns the repository access manager configuration.
|
String |
getAppName()
Returns the repository name.
|
LoginModuleConfig |
getLoginModuleConfig()
Returns the repository login module configuration.
|
SecurityManagerConfig |
getSecurityManagerConfig()
Returns the repository security manager configuration.
|
public SecurityConfig(String name, SecurityManagerConfig smc, AccessManagerConfig amc, LoginModuleConfig lmc)
name
- repository name for a JAAS app-entry configurationsmc
- security manager configurationamc
- access manager configurationlmc
- login module configuration (can be null
)public String getAppName()
public SecurityManagerConfig getSecurityManagerConfig()
public AccessManagerConfig getAccessManagerConfig()
public LoginModuleConfig getLoginModuleConfig()
null
if standard
JAAS mechanism should be used.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.