mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-1966 - Inbound email supports STARTTLS by default - however this requires Java + SSL configuration to be done to work
Updated to latest SubEtha lib and added three new configuration properties. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -47,6 +47,9 @@ public abstract class EmailServer extends AbstractLifecycleBean
|
||||
private int maxConnections;
|
||||
private Set<String> blockedSenders;
|
||||
private Set<String> allowedSenders;
|
||||
private boolean hideTLS = false;
|
||||
private boolean enableTLS = true;
|
||||
private boolean requireTLS = false;
|
||||
|
||||
private EmailService emailService;
|
||||
|
||||
@@ -326,4 +329,38 @@ public abstract class EmailServer extends AbstractLifecycleBean
|
||||
System.err.println("\t configLocation - spring xml configs with EmailServer related beans (emailServer, emailServerConfiguration, emailService)");
|
||||
}
|
||||
|
||||
/** Hide the TLS (Trusted Login Session) option
|
||||
*
|
||||
* @param hideTLS
|
||||
*/
|
||||
public void setHideTLS(boolean hideTLS)
|
||||
{
|
||||
this.hideTLS = hideTLS;
|
||||
}
|
||||
|
||||
public boolean isHideTLS()
|
||||
{
|
||||
return hideTLS;
|
||||
}
|
||||
|
||||
public void setEnableTLS(boolean enableTLS)
|
||||
{
|
||||
this.enableTLS = enableTLS;
|
||||
}
|
||||
|
||||
public boolean isEnableTLS()
|
||||
{
|
||||
return enableTLS;
|
||||
}
|
||||
|
||||
public void setRequireTLS(boolean requireTLS)
|
||||
{
|
||||
this.requireTLS = requireTLS;
|
||||
}
|
||||
|
||||
public boolean isRequireTLS()
|
||||
{
|
||||
return requireTLS;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user