类 javax.mail.PasswordAuthentication
的使用

使用 PasswordAuthentication 的软件包
javax.mail The JavaMailTM API provides classes that model a mail system. 
org.eclipse.jetty.jndi.factories   
 

javax.mailPasswordAuthentication 的使用
 

返回 PasswordAuthenticationjavax.mail 中的方法
protected  PasswordAuthentication Authenticator.getPasswordAuthentication()
          Called when password authentication is needed.
 PasswordAuthentication Session.getPasswordAuthentication(URLName url)
          Return any saved PasswordAuthentication for this (store or transport) URLName.
 PasswordAuthentication Session.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName)
          Call back to the application to get the needed user name and password.
 

参数类型为 PasswordAuthenticationjavax.mail 中的方法
 void Session.setPasswordAuthentication(URLName url, PasswordAuthentication pw)
          Save a PasswordAuthentication for this (store or transport) URLName.
 

org.eclipse.jetty.jndi.factoriesPasswordAuthentication 的使用
 

返回 PasswordAuthenticationorg.eclipse.jetty.jndi.factories 中的方法
 PasswordAuthentication MailSessionReference.PasswordAuthenticator.getPasswordAuthentication()
           
 



Copyright © 2013. All Rights Reserved.