public interface MessageContext
| Modifier and Type | Method and Description |
|---|---|
AuthenticationHandler |
getAuthenticationHandler() |
java.lang.String |
getHelo() |
java.net.SocketAddress |
getRemoteAddress() |
SMTPServer |
getSMTPServer() |
java.security.cert.Certificate[] |
getTlsPeerCertificates()
Returns the identity of the peer which was established as part of the TLS handshake
as defined by
SSLSession.getPeerCertificates(). |
SMTPServer getSMTPServer()
java.net.SocketAddress getRemoteAddress()
AuthenticationHandler getAuthenticationHandler()
java.lang.String getHelo()
java.security.cert.Certificate[] getTlsPeerCertificates()
SSLSession.getPeerCertificates().
In order to get this information, override SMTPServer.createSSLSocket(java.net.Socket) and call
setNeedClientAuth(true) on the created socket.SSLSession.getPeerCertificates()Copyright © 2006-2013. All Rights Reserved.