Package com.sun.mail.smtp
Class SMTPSaslAuthenticator
java.lang.Object
com.sun.mail.smtp.SMTPSaslAuthenticator
- All Implemented Interfaces:
SaslAuthenticator
This class contains a single method that does authentication using
SASL. This is in a separate class so that it can be compiled with
J2SE 1.5. Eventually it should be merged into SMTPTransport.java.
-
Constructor Summary
ConstructorsConstructorDescriptionSMTPSaslAuthenticator
(SMTPTransport pr, String name, Properties props, MailLogger logger, String host) -
Method Summary
-
Constructor Details
-
SMTPSaslAuthenticator
public SMTPSaslAuthenticator(SMTPTransport pr, String name, Properties props, MailLogger logger, String host)
-
-
Method Details
-
authenticate
public boolean authenticate(String[] mechs, String realm, String authzid, String u, String p) throws MessagingException - Specified by:
authenticate
in interfaceSaslAuthenticator
- Throws:
MessagingException
-