public class

IMAPSaslAuthenticator

extends Object
implements SaslAuthenticator
java.lang.Object
   ↳ com.google.code.com.sun.mail.imap.protocol.IMAPSaslAuthenticator

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 IMAPProtocol.java.

Summary

Fields
private boolean debug
private String host
private String name
private PrintStream out
private IMAPProtocol pr
private Properties props
Public Constructors
IMAPSaslAuthenticator(IMAPProtocol 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.imap.protocol.SaslAuthenticator

Fields

private boolean debug

private String host

private String name

private PrintStream out

private IMAPProtocol pr

private Properties props

Public Constructors

public IMAPSaslAuthenticator (IMAPProtocol 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