com.atlassian.confluence.servlet.download
Class SettingsConfiguredDownloadPolicyProvider

java.lang.Object
  extended by 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 the DownloadPolicy used by Confluence to be selected via the global system setting 'attachmentSecurityLevel'. The default DownloadPolicy will be DownloadPolicy.Smart. If setup has not been completed then DownloadPolicy.Smart is used.

Since:
5.2

Constructor Summary
SettingsConfiguredDownloadPolicyProvider(SettingsManager settingsManager)
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsConfiguredDownloadPolicyProvider

public SettingsConfiguredDownloadPolicyProvider(SettingsManager settingsManager)
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean


Copyright © 2003–2015 Atlassian. All rights reserved.