Skip to content

Commit

Permalink
adds smtp security params (#3948)
Browse files Browse the repository at this point in the history
Co-authored-by: Thiago Diniz <thiago.diniz.hsj@ssss.gouv.qc.ca>
  • Loading branch information
thiagomdiniz and Thiago Diniz authored Oct 18, 2024
1 parent 1cb13c9 commit 16f5449
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opal-core/src/main/resources/META-INF/defaults.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ org.obiba.opal.smtp.from=opal@obiba.org
org.obiba.opal.smtp.auth=false
org.obiba.opal.smtp.username=
org.obiba.opal.smtp.password=
org.obiba.opal.smtp.starttls=false
org.obiba.opal.smtp.ssl=false
org.obiba.opal.smtp.ssl.protocols=TLSv1.2

# Plugin repository
org.obiba.opal.plugins.site=https://plugins.obiba.org
Expand Down
3 changes: 3 additions & 0 deletions opal-core/src/main/resources/spring/opal-core/email.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<property name="properties">
<props>
<prop key="mail.smtp.auth">${org.obiba.opal.smtp.auth}</prop>
<prop key="mail.smtp.starttls.enable">${org.obiba.opal.smtp.starttls}</prop>
<prop key="mail.smtp.ssl.enable">${org.obiba.opal.smtp.ssl}</prop>
<prop key="mail.smtp.ssl.protocols">${org.obiba.opal.smtp.ssl.protocols}</prop>
</props>
</property>
<property name="location" value="file:${OPAL_HOME}/conf/smtp.properties"/>
Expand Down

0 comments on commit 16f5449

Please sign in to comment.