Package com.atlassian.bamboo.mail
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl
com.atlassian.mail.server.impl.SMTPMailServerImpl.Builder<T extends com.atlassian.mail.server.impl.SMTPMailServerImpl.Builder<T>> -
Field Summary
Fields inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl
DEFAULT_TRANSPORT_CACHE_TTL, TRANSPORT_CACHE_TTL_PROPERTYFields inherited from class com.atlassian.mail.server.AbstractMailServer
isAuthenticating, logFields inherited from interface com.atlassian.mail.server.SMTPMailServer
DEFAULT_SMTP_PORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.mail.server.auth.AuthenticationContextprotected javax.mail.AuthenticatorgetPort()voidsetPassword(String password) voidsetUsername(String username) Methods inherited from class com.atlassian.mail.server.impl.SMTPMailServerImpl
equals, getDefaultFrom, getDefaultReplyTo, getJndiLocation, getJndiSession, getPrefix, getSession, getTransportCacheTtl, getType, hashCode, isRemovePrecedence, isSessionServer, isTlsHostnameCheckRequired, propertyChanged, quietSend, send, sendMimeMessage, sendWithMessageId, setDefaultFrom, setDefaultReplyTo, setJndiLocation, setPrefix, setRemovePrecedence, setSessionServer, setTlsHostnameCheckRequired, toStringMethods inherited from class com.atlassian.mail.server.AbstractMailServer
getConnectionTimeout, getDebug, getDebugStream, getDescription, getHostname, getId, getMailProtocol, getMoreDebugInfoAboutCreatedSession, getName, getProperties, getSessionFromServerManager, getSessionFromServerManagerInternal, getSocksHost, getSocksPort, getTimeout, isTlsRequired, loadSystemProperties, setAuthenticationContext, setConnectionTimeout, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsRequired, smartConnectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.mail.server.MailServer
getDescription, getHostname, getId, getMailProtocol, getName, getProperties, getSocksHost, getSocksPort, getTimeout, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPort, setProperties, setSocksHost, setSocksPort, setTimeoutMethods inherited from interface com.atlassian.mail.server.SMTPMailServer
getDebug, getDebugStream, isTlsRequired, isTransportCachingEnabled, setDebug, setTlsRequired
-
Constructor Details
-
SMTPMailServerWithEncryptedPassword
public SMTPMailServerWithEncryptedPassword()
-
-
Method Details
-
getPort
- Specified by:
getPortin interfacecom.atlassian.mail.server.MailServer- Overrides:
getPortin classcom.atlassian.mail.server.AbstractMailServer
-
getAuthenticationContext
public com.atlassian.mail.server.auth.AuthenticationContext getAuthenticationContext()- Specified by:
getAuthenticationContextin interfacecom.atlassian.mail.server.auth.AuthenticationContextAware- Overrides:
getAuthenticationContextin classcom.atlassian.mail.server.AbstractMailServer
-
getPassword
- Specified by:
getPasswordin interfacecom.atlassian.mail.server.MailServer- Overrides:
getPasswordin classcom.atlassian.mail.server.AbstractMailServer
-
setPassword
- Specified by:
setPasswordin interfacecom.atlassian.mail.server.MailServer- Overrides:
setPasswordin classcom.atlassian.mail.server.AbstractMailServer
-
getUsername
- Specified by:
getUsernamein interfacecom.atlassian.mail.server.MailServer- Overrides:
getUsernamein classcom.atlassian.mail.server.AbstractMailServer
-
setUsername
- Specified by:
setUsernamein interfacecom.atlassian.mail.server.MailServer- Overrides:
setUsernamein classcom.atlassian.mail.server.AbstractMailServer
-
getAuthenticator
protected javax.mail.Authenticator getAuthenticator()- Overrides:
getAuthenticatorin classcom.atlassian.mail.server.AbstractMailServer
-