Class SMTPMailServerWithEncryptedPassword

  • All Implemented Interfaces:
    com.atlassian.mail.server.auth.AuthenticationContextAware, com.atlassian.mail.server.MailServer, com.atlassian.mail.server.SMTPMailServer, Serializable

    public class SMTPMailServerWithEncryptedPassword
    extends com.atlassian.mail.server.impl.SMTPMailServerImpl
    An SMTP server that treats the stored password as an Encrypted password and decrypts it before sending mail
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.atlassian.mail.server.AbstractMailServer

        isAuthenticating, log
      • Fields inherited from interface com.atlassian.mail.server.SMTPMailServer

        DEFAULT_SMTP_PORT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.mail.Authenticator getAuthenticator()  
      String getPort()  
      • Methods inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl

        equals, getDefaultFrom, getJndiLocation, getJndiSession, getPrefix, getSession, getType, hashCode, isRemovePrecedence, isSessionServer, isTlsHostnameCheckRequired, propertyChanged, quietSend, send, sendMimeMessage, sendWithMessageId, setDefaultFrom, setJndiLocation, setPrefix, setRemovePrecedence, setSessionServer, setTlsHostnameCheckRequired, toString
      • Methods inherited from class com.atlassian.mail.server.AbstractMailServer

        getAuthenticationContext, getConnectionTimeout, getDebug, getDebugStream, getDescription, getHostname, getId, getMailProtocol, getMoreDebugInfoAboutCreatedSession, getName, getPassword, getProperties, getSessionFromServerManager, getSessionFromServerManagerInternal, getSocksHost, getSocksPort, getTimeout, getUsername, isTlsRequired, loadSystemProperties, setAuthenticationContext, setConnectionTimeout, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsRequired, setUsername, smartConnect
      • Methods inherited from interface com.atlassian.mail.server.MailServer

        getDescription, getHostname, getId, getMailProtocol, getName, getPassword, getProperties, getSocksHost, getSocksPort, getTimeout, getUsername, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setUsername
      • Methods inherited from interface com.atlassian.mail.server.SMTPMailServer

        getDebug, getDebugStream, isTlsRequired, isTransportCachingEnabled, setDebug, setTlsRequired
    • Constructor Detail

      • SMTPMailServerWithEncryptedPassword

        public SMTPMailServerWithEncryptedPassword()
    • Method Detail

      • getPort

        public String getPort()
        Specified by:
        getPort in interface com.atlassian.mail.server.MailServer
        Overrides:
        getPort in class com.atlassian.mail.server.AbstractMailServer
      • getAuthenticator

        protected javax.mail.Authenticator getAuthenticator()
        Overrides:
        getAuthenticator in class com.atlassian.mail.server.AbstractMailServer