public class SecurityConfigSection extends ConfigSection
Modifier and Type | Field and Description |
---|---|
static String |
SectionName |
Constructor and Description |
---|
SecurityConfigSection(ServerConfiguration config)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDomainMapping(DomainMapping mapping)
Add a domain mapping
|
AccessControlManager |
getAccessControlManager()
Get the access control manager that is used to control per share access
|
org.springframework.extensions.config.ConfigElement |
getAccessControlManagerParameters()
Return the access control manager initialization parameters
|
List<DomainMapping> |
getDomainMappings()
Return the domain mappings
|
AccessControlList |
getGlobalAccessControls()
Return the global access control list
|
String |
getJCEProvider()
Return the JCE provider class name
|
ShareMapper |
getShareMapper()
Return the share mapper
|
org.springframework.extensions.config.ConfigElement |
getShareMapperParameters()
Return the share mapper initialization parameters
|
UserAccountList |
getUserAccounts()
Return the user account list.
|
UsersInterface |
getUsersInterface()
Return the users interface
|
boolean |
hasAccessControlManager()
Check if there is an access control manager configured
|
boolean |
hasDomainMappings()
Check if there are any domain mappings defined
|
boolean |
hasGlobalAccessControls()
Check if the global access control list is configured
|
boolean |
hasUserAccounts()
Determine if there are any user accounts defined.
|
int |
setAccessControlManager(AccessControlManager aclMgr)
Set the access control manager to be used to control per share access
|
int |
setAccessControlManager(String aclMgrClass,
org.springframework.extensions.config.ConfigElement params)
Set the access control manager to be used to control per share access
|
int |
setGlobalAccessControls(AccessControlList acls)
Set the global access control list
|
int |
setJCEProvider(String providerClass)
Set the JCE provider
|
int |
setShareMapper(ShareMapper shareMapper)
Set the share mapper
|
int |
setShareMapper(String mapperClass,
org.springframework.extensions.config.ConfigElement params)
Set the share mapper
|
int |
setUserAccounts(UserAccountList users)
Set the user account list.
|
int |
setUsersInterface(String usersClass,
org.springframework.extensions.config.ConfigElement params)
Set the users interface to provide user account information
|
closeConfig, fireConfigurationChange, getSectionName, getServerConfiguration, isUpdated, setUpdated
public static final String SectionName
public SecurityConfigSection(ServerConfiguration config)
config
- ServerConfigurationpublic final boolean hasAccessControlManager()
public final AccessControlManager getAccessControlManager()
public final boolean hasGlobalAccessControls()
public final AccessControlList getGlobalAccessControls()
public final org.springframework.extensions.config.ConfigElement getAccessControlManagerParameters()
public final ShareMapper getShareMapper()
public final org.springframework.extensions.config.ConfigElement getShareMapperParameters()
public final UserAccountList getUserAccounts()
public final UsersInterface getUsersInterface()
public final String getJCEProvider()
public final boolean hasUserAccounts()
public final boolean hasDomainMappings()
public final List<DomainMapping> getDomainMappings()
public final int setAccessControlManager(String aclMgrClass, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
aclMgrClass
- Stringparams
- ConfigElementInvalidConfigurationException
public final int setAccessControlManager(AccessControlManager aclMgr) throws InvalidConfigurationException
aclMgr
- the access control manager to be used to control per share accessInvalidConfigurationException
public final int setJCEProvider(String providerClass) throws InvalidConfigurationException
providerClass
- StringInvalidConfigurationException
public final int setShareMapper(String mapperClass, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
mapperClass
- Stringparams
- ConfigElementInvalidConfigurationException
public final int setShareMapper(ShareMapper shareMapper) throws InvalidConfigurationException
shareMapper
- pre-initialized share mapperInvalidConfigurationException
public final int setUserAccounts(UserAccountList users) throws InvalidConfigurationException
users
- UserAccountListInvalidConfigurationException
public final int setUsersInterface(String usersClass, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
usersClass
- Stringparams
- ConfigElementInvalidConfigurationException
public final int setGlobalAccessControls(AccessControlList acls) throws InvalidConfigurationException
acls
- AccessControlListInvalidConfigurationException
public final void addDomainMapping(DomainMapping mapping)
mapping
- DomainMappingCopyright © 2005–2018 Alfresco Software. All rights reserved.