Package org.nuxeo.ecm.blob.s3
Class CloudFrontConfiguration
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
-
- org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
-
- org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
-
- org.nuxeo.ecm.blob.s3.CloudFrontConfiguration
-
public class CloudFrontConfiguration extends CloudBlobStoreConfiguration
CloudFront configuration.- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLOUDFRONT_DISTRIBUTION_DOMAIN_PROPERTY
static String
CLOUDFRONT_ENABLE_ENCODING_FIX
static String
CLOUDFRONT_ENABLED_PROPERTY
static String
CLOUDFRONT_PRIVATE_KEY_ID_PROPERTY
static String
CLOUDFRONT_PRIVATE_KEY_PROPERTY
static String
CLOUDFRONT_PROTOCOL_PROPERTY
String
distributionDomain
boolean
enabled
boolean
fixEncoding
String
keyPairId
PrivateKey
privateKey
com.amazonaws.services.cloudfront.util.SignerUtils.Protocol
protocol
-
Fields inherited from class org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
cachingConfiguration, DEFAULT_DIRECTDOWNLOAD_EXPIRE, DIGEST_ALGORITHM_PROPERTY, digestConfiguration, directDownload, DIRECTDOWNLOAD_EXPIRE_PROPERTY, DIRECTDOWNLOAD_PROPERTY, directDownloadExpire
-
Fields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
namespace
-
Fields inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
properties, systemPropertyPrefix
-
-
Constructor Summary
Constructors Constructor Description CloudFrontConfiguration(String systemPropertyPrefix, Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrivateKey
getPrivateKey(String path)
-
Methods inherited from class org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
parseDirectDownload, parseDirectDownloadExpire
-
Methods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
propertiesWithNamespace
-
Methods inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
getBooleanProperty, getIntProperty, getIntProperty, getLongProperty, getProperty, getProperty
-
-
-
-
Field Detail
-
CLOUDFRONT_ENABLED_PROPERTY
public static final String CLOUDFRONT_ENABLED_PROPERTY
- See Also:
- Constant Field Values
-
CLOUDFRONT_PRIVATE_KEY_PROPERTY
public static final String CLOUDFRONT_PRIVATE_KEY_PROPERTY
- See Also:
- Constant Field Values
-
CLOUDFRONT_PRIVATE_KEY_ID_PROPERTY
public static final String CLOUDFRONT_PRIVATE_KEY_ID_PROPERTY
- See Also:
- Constant Field Values
-
CLOUDFRONT_DISTRIBUTION_DOMAIN_PROPERTY
public static final String CLOUDFRONT_DISTRIBUTION_DOMAIN_PROPERTY
- See Also:
- Constant Field Values
-
CLOUDFRONT_PROTOCOL_PROPERTY
public static final String CLOUDFRONT_PROTOCOL_PROPERTY
- See Also:
- Constant Field Values
-
CLOUDFRONT_ENABLE_ENCODING_FIX
public static final String CLOUDFRONT_ENABLE_ENCODING_FIX
- See Also:
- Constant Field Values
-
enabled
public final boolean enabled
-
distributionDomain
public final String distributionDomain
-
protocol
public final com.amazonaws.services.cloudfront.util.SignerUtils.Protocol protocol
-
privateKey
public final PrivateKey privateKey
-
keyPairId
public final String keyPairId
-
fixEncoding
public final boolean fixEncoding
-
-
Constructor Detail
-
CloudFrontConfiguration
public CloudFrontConfiguration(String systemPropertyPrefix, Map<String,String> properties) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getPrivateKey
protected PrivateKey getPrivateKey(String path) throws IOException
- Throws:
IOException
-
-