Uses of Class javax.mail.PasswordAuthentication (JavaMail API documentation)
Date: 2016-12-03

## Uses of Class
javax.mail.PasswordAuthentication

- Packages that use PasswordAuthentication
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### Uses of PasswordAuthentication in javax.mail

    Methods in javax.mail that return PasswordAuthentication
    Modifier and Type | Method and Description
    --- | ---
    `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(java.net.InetAddress addr, int port, java.lang.String protocol, java.lang.String prompt, java.lang.String defaultUserName)` Call back to the application to get the needed user name and password.

    Methods in javax.mail with parameters of type PasswordAuthentication
    Modifier and Type | Method and Description
    --- | ---
    `void` | Session.`setPasswordAuthentication(URLName url, PasswordAuthentication pw)` Save a PasswordAuthentication for this (store or transport) URLName.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.