Class SettingsConfiguredDownloadPolicyProvider
- java.lang.Object
-
- com.atlassian.confluence.servlet.download.SettingsConfiguredDownloadPolicyProvider
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class SettingsConfiguredDownloadPolicyProvider extends Object implements org.springframework.beans.factory.FactoryBean
Allows to configure theDownloadPolicyused by Confluence to be selected via the global system setting 'attachmentSecurityLevel'. The default DownloadPolicy will beDownloadPolicy.Smart. If setup has not been completed thenDownloadPolicy.Smartis used.- Since:
- 5.2
-
-
Constructor Summary
Constructors Constructor Description SettingsConfiguredDownloadPolicyProvider(SettingsManager settingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObject()ClassgetObjectType()booleanisSingleton()
-
-
-
Constructor Detail
-
SettingsConfiguredDownloadPolicyProvider
public SettingsConfiguredDownloadPolicyProvider(SettingsManager settingsManager)
-
-
Method Detail
-
getObject
public Object getObject() throws Exception
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Throws:
Exception
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
-