com.sun.mail.imap.protocol
类 IMAPSaslAuthenticator

java.lang.Object
  继承者 com.sun.mail.imap.protocol.IMAPSaslAuthenticator
所有已实现的接口:
SaslAuthenticator

public class IMAPSaslAuthenticator
extends Object
implements 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 IMAPProtocol.java.


构造方法摘要
IMAPSaslAuthenticator(IMAPProtocol pr, String name, Properties props, boolean debug, PrintStream out, String host)
           
 
方法摘要
 boolean authenticate(String[] mechs, String realm, String authzid, String u, String p)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

IMAPSaslAuthenticator

public IMAPSaslAuthenticator(IMAPProtocol pr,
                             String name,
                             Properties props,
                             boolean debug,
                             PrintStream out,
                             String host)
方法详细信息

authenticate

public boolean authenticate(String[] mechs,
                            String realm,
                            String authzid,
                            String u,
                            String p)
                     throws ProtocolException
指定者:
接口 SaslAuthenticator 中的 authenticate
抛出:
ProtocolException


Copyright © 2013. All Rights Reserved.