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

## Uses of Class
javax.mail.Authenticator

- Packages that use Authenticator
  Package | Description
  --- | ---
  com.sun.mail.util.logging | Contains JavaMailTM extensions for the JavaTM platform's core logging facilities.
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### Uses of Authenticator in com.sun.mail.util.logging

    Methods in com.sun.mail.util.logging that return Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `Authenticator` | MailHandler.`getAuthenticator()` Gets the `Authenticator` used to login to the email server.

    Methods in com.sun.mail.util.logging with parameters of type Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `void` | MailHandler.`setAuthenticator(Authenticator auth)` Sets the `Authenticator` used to login to the email server.

  - ### Uses of Authenticator in javax.mail

    Methods in javax.mail with parameters of type Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `static Session` | Session.`getDefaultInstance(java.util.Properties props, Authenticator authenticator)` Get the default Session object.
    `static Session` | Session.`getInstance(java.util.Properties props, Authenticator authenticator)` Get a new Session object.

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