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 theDownloadPolicy
used by Confluence to be selected via the global system setting 'attachmentSecurityLevel'. The default DownloadPolicy will beDownloadPolicy.Smart
. If setup has not been completed thenDownloadPolicy.Smart
is 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 Object
getObject()
Class
getObjectType()
boolean
isSingleton()
-
-
-
Constructor Detail
-
SettingsConfiguredDownloadPolicyProvider
public SettingsConfiguredDownloadPolicyProvider(SettingsManager settingsManager)
-
-
Method Detail
-
getObject
public Object getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
- Throws:
Exception
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-