@Service(value="configurationManagement") public class ConfigurationManagementImpl extends ConfigurationManagementBase
DEFAULT_CONFLUENCE_SYSTEM_ID, DEFAULT_DATABASE_ID, DEFAULT_LDAP_SYSTEM_ID| Constructor and Description |
|---|
ConfigurationManagementImpl() |
getApplicationConfigurationSettingDao, getApplicationConfigurationSettings, getClientConfigurationDao, getClientLogo, getConfiguration, getConfigurationDao, getConfluenceConfigurationDao, getExternalSystemConfigurationDao, getLdapConfigurationDao, getPrincipal, getSettingDao, removeClientLogo, setApplicationConfigurationSettingDao, setClientConfigurationDao, setConfigurationDao, setConfluenceConfigurationDao, setExternalSystemConfigurationDao, setLdapConfigurationDao, setSettingDao, updateApplicationSettings, updateClientLogo, updateClientSetting, updateClientSettings, updateClientTimeZoneId, updateConfluenceAuthConfig, updateDefaultBlog, updateLdapConfigurationpublic Blog getDefaultBlog()
public void handleDefaultBlog(Blog blog)
handleDefaultBlog in class ConfigurationManagementBaseblog - The new default blog.protected Collection<ApplicationConfigurationSetting> handleGetApplicationConfigurationSettings()
ConfigurationManagementBase.getApplicationConfigurationSettings()handleGetApplicationConfigurationSettings in class ConfigurationManagementBaseprotected ImageVO handleGetClientLogo()
ConfigurationManagementBase.getClientLogo()handleGetClientLogo in class ConfigurationManagementBaseConfigurationManagementBase.handleGetClientLogo()protected Configuration handleGetConfiguration()
ConfigurationManagementBase.getConfiguration()handleGetConfiguration in class ConfigurationManagementBaseConfigurationManagementBase.handleGetConfiguration()protected void handleRemoveClientLogo()
ConfigurationManagementBase.removeClientLogo()handleRemoveClientLogo in class ConfigurationManagementBaseConfigurationManagementBase.handleRemoveClientLogo()protected void handleUpdateApplicationSettings(Map<ApplicationConfigurationPropertyConstant,String> settings) throws AuthorizationException
#updateApplicationSettings(java.util.Map<
ApplicationConfigurationPropertyConstant, String>)handleUpdateApplicationSettings in class ConfigurationManagementBaseAuthorizationExceptionprotected void handleUpdateClientLogo(byte[] image)
ConfigurationManagementBase.updateClientLogo(byte[])handleUpdateClientLogo in class ConfigurationManagementBaseConfigurationManagementBase.handleUpdateClientLogo(byte[])protected void handleUpdateClientSetting(ClientConfigurationPropertyConstant key, String value)
ConfigurationManagementBase.updateClientSetting(com.communote.server.api.core.config.ClientConfigurationPropertyConstant, String)handleUpdateClientSetting in class ConfigurationManagementBasecom.communote.server.core.ConfigurationManagementBase#handleUpdateSetting(String,
String)protected void handleUpdateClientSettings(Map<ClientConfigurationPropertyConstant,String> settings)
#updateClientSettings(java.util.Map<
ClientConfigurationPropertyConstant,String>)handleUpdateClientSettings in class ConfigurationManagementBasecom.communote.server.core.ConfigurationManagementBase#handleUpdateAllSettings(java.util.Map)protected void handleUpdateClientTimeZoneId(String timeZoneId)
ConfigurationManagementBase.updateClientTimeZoneId(String)handleUpdateClientTimeZoneId in class ConfigurationManagementBaseConfigurationManagementBase.handleUpdateClientTimeZoneId(String)protected void handleUpdateConfluenceAuthConfig(ConfluenceConfiguration confluenceAuthConfig) throws AuthorizationException, PrimaryAuthenticationException
ConfigurationManagementBase.updateConfluenceAuthConfig(com.communote.server.model.config.ConfluenceConfiguration)handleUpdateConfluenceAuthConfig in class ConfigurationManagementBasePrimaryAuthenticationException - Exception.AuthorizationExceptionprotected void handleUpdateLdapConfiguration(LdapConfiguration ldapConfig) throws AuthorizationException, PrimaryAuthenticationException
ConfigurationManagementBase.updateLdapConfiguration(com.communote.server.model.config.LdapConfiguration)handleUpdateLdapConfiguration in class ConfigurationManagementBasePrimaryAuthenticationExceptionAuthorizationExceptionpublic void setPrimaryAuthentication(String externalSystemId, boolean allowDBAuth, String currentPrimaryAuthentication) throws PrimaryAuthenticationException
externalSystemId - The ID of the external system which should be made the primary authentication
system. If this is null, the current primary authentication system will be
removed.allowDBAuth - True, if authentication against the internal database should be allowed.currentPrimaryAuthentication - The ID of the external system which is the current primary authentication system.
Can be null if there is currently no primary authentication.PrimaryAuthenticationException - Thrown if there is no active configuration for the externalSystemId or no
configuration for the currentPrimaryAuthentication. This Exception is also thrown
if allowDBAuth is false and there are no client managers that can authenticate
against the new primary system.Copyright © 2019 Communote team. All rights reserved.