public class

SMTPSaslAuthenticator

extends Object
implements SaslAuthenticator
java.lang.Object
   ↳ com.google.code.com.sun.mail.smtp.SMTPSaslAuthenticator

Class Overview

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.

Summary

Fields
private boolean debug
private String host
private String name
private PrintStream out
private SMTPTransport pr
private Properties props
Public Constructors
SMTPSaslAuthenticator(SMTPTransport pr, String name, Properties props, boolean debug, PrintStream out, String host)
Public Methods
boolean authenticate(String[] mechs, String realm, String authzid, String u, String p)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.code.com.sun.mail.smtp.SaslAuthenticator

Fields

private boolean debug

private String host

private String name

private PrintStream out

private SMTPTransport pr

private Properties props

Public Constructors

public SMTPSaslAuthenticator (SMTPTransport pr, String name, Properties props, boolean debug, PrintStream out, String host)

Parameters
pr
name
props
debug
out
host

Public Methods

public boolean authenticate (String[] mechs, String realm, String authzid, String u, String p)

Parameters
mechs
realm
authzid
u
p