クラス
javax.mail.PasswordAuthentication の使用

PasswordAuthentication を使用しているパッケージ
javax.mail メールシステムをモデル化するクラスです。 
 

javax.mail での PasswordAuthentication の使用
 

PasswordAuthentication を返す javax.mail のメソッド
protected  PasswordAuthentication Authenticator.getPasswordAuthentication()
          パスワード認証が必要な場合に呼び出されます。
 PasswordAuthentication Session.getPasswordAuthentication(URLName url)
          この (ストア又はトランスポート) URLName の任意の保存された PasswordAuthentication を返します。
 PasswordAuthentication Session.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName)
          必要なユーザ名とパスワードを取得する為に、アプリケーションにコールバックします。
 

PasswordAuthentication 型のパラメータを持つ javax.mail のメソッド
 void Session.setPasswordAuthentication(URLName url, PasswordAuthentication pw)
          この (ストア又はトランスポート) URLName の PasswordAuthentication を保存します。