public class ClientConfigurationProperties extends AbstractConfigurationProperties<ClientConfigurationPropertyConstant> implements Serializable
Constructor and Description |
---|
ClientConfigurationProperties(Configuration configuration)
Constructs a new instance.
|
getAssertProperty, getProperty, getProperty, getProperty, getProperty
public ClientConfigurationProperties(Configuration configuration)
configuration
- the client configuration for initializing the propertiespublic String getClientTimeZoneId()
public ConfluenceConfiguration getConfluenceConfiguration()
ConfigurationManagement
.public Long getDefaultBlogId()
public Locale getDefaultLanguage()
public Collection<ExternalSystemConfiguration> getExternalSystemConfigurations()
@Deprecated public LdapConfiguration getLdapConfiguration()
UserService.getExternalSystemConfiguration(String)
ConfigurationManagement.updateLdapConfiguration(LdapConfiguration)
public String getPrimaryExternalAuthentication()
public String getProperty(ClientConfigurationPropertyConstant key)
getProperty
in class AbstractConfigurationProperties<ClientConfigurationPropertyConstant>
key
- the keypublic Date getPropertyLastModification(ClientConfigurationPropertyConstant key)
Note: for properties which were added before the modification time was stored this will return the date of epoch
key
- the key of the property to retrievepublic ClientProperty.REPOSITORY_MODE getRepositoryMode()
@Deprecated public boolean isConfluenceAuthenticationActivated()
UserService.getExternalSystemConfiguration(String)
public boolean isDBAuthenticationAllowed()
public boolean isDefaultBlogEnabled()
public boolean isExternalAuthenticationActivated()
@Deprecated public boolean isLdapAuthenticationActivated()
getExternalSystemConfigurations()
public boolean isRegistrationAllowed()
Copyright © 2019 Communote team. All rights reserved.