Class SMTPMailServerWithEncryptedPassword

java.lang.Object
com.atlassian.mail.server.AbstractMailServer
com.atlassian.mail.server.impl.SMTPMailServerImpl
com.atlassian.bamboo.mail.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:
  • Field Summary

    Fields inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl

    DEFAULT_TRANSPORT_CACHE_TTL, TRANSPORT_CACHE_TTL_PROPERTY

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

    isAuthenticating, log

    Fields inherited from interface com.atlassian.mail.server.SMTPMailServer

    DEFAULT_SMTP_PORT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.mail.Authenticator
     
     

    Methods inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl

    equals, getDefaultFrom, getJndiLocation, getJndiSession, getPrefix, getSession, getTransportCacheTtl, 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 class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    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 Details

    • SMTPMailServerWithEncryptedPassword

      public SMTPMailServerWithEncryptedPassword()
  • Method Details

    • 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