Skip to content

Instantly share code, notes, and snippets.

@klcodanr
Last active December 28, 2020 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klcodanr/41bf7c0e97a9b80b8547684ed0f72444 to your computer and use it in GitHub Desktop.
Save klcodanr/41bf7c0e97a9b80b8547684ed0f72444 to your computer and use it in GitHub Desktop.
Feature Model Configuration for Sling Commons Mail + Commons Crypto
{
"configurations": {
"org.apache.sling.commons.crypto.internal.FilePasswordProvider~default": {
"names": [
"default"
],
"path": "/opt/a/path/on/the/local/server"
},
"org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomIvGeneratorRegistrar~default": {
"algorithm": "SHA1PRNG"
},
"org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomSaltGeneratorRegistrar~default": {
"algorithm": "SHA1PRNG"
},
"org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPBEStringCryptoService~default": {
"algorithm": "PBEWITHHMACSHA512ANDAES_256",
"saltGenerator.target": "",
"securityProviderName": "",
"ivGenerator.target": "",
"securityProvider.target": "",
"keyObtentionIterations": 1000,
"names": [
"default"
],
"stringOutputType": "base64"
},
"org.apache.sling.commons.messaging.mail.internal.SimpleMailService~default": {
"connectionListeners.target": "",
"transportListeners.target": "",
"username": "${SMTP_USERNAME}",
"mail.smtps.from": "${SMTP_USERNAME}",
"messageIdProvider.target": "",
"mail.smtps.host": "${SMTP_HOST}",
"names": [
"default"
],
"password": "${SMTP_ENC_PASSWORD}",
"mail.smtps.port": "${SMTP_PORT}",
"cryptoService.target": "",
"threadpool.name": "default"
},
"org.apache.sling.commons.messaging.mail.internal.SimpleMessageIdProvider~default": {
"host": "${SITE_HOST}",
"names": [
"default"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment