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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SMTPMailServerWithEncryptedPassword()
-
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 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
-
-
-
-
Method Detail
-
getPort
public String getPort()
- Specified by:
getPort
in interfacecom.atlassian.mail.server.MailServer
- Overrides:
getPort
in classcom.atlassian.mail.server.AbstractMailServer
-
getAuthenticator
protected javax.mail.Authenticator getAuthenticator()
- Overrides:
getAuthenticator
in classcom.atlassian.mail.server.AbstractMailServer
-
-