## 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(Properties props, Authenticator authenticator)` Get the default Session object.
    `static Session` | Session.`getInstance(Properties props, Authenticator authenticator)` Get a new Session object.

Copyright © 2013 Oracle. All Rights Reserved.