JavaScript is disabled on your browser.
javax.mail

Class Authenticator



  • public abstract class Authenticator
    extends java.lang.Object
    Callback object that can be used to obtain password information during authentication. This normally occurs by prompting the user for a password or retrieving it from secure storage.
    • Constructor Summary

      Constructors
      Constructor and Description
      Authenticator ()
    • Method Summary

      Methods
      Modifier and Type Method and Description
      protected java.lang.String getDefaultUserName ()
      Returns the default user name.
      protected PasswordAuthentication getPasswordAuthentication ()
      Called when password authentication is needed.
      protected int getRequestingPort ()
      Returns the port used in the request.
      protected java.lang.String getRequestingPrompt ()
      Returns the user prompt string for the request.
      protected java.lang.String getRequestingProtocol ()
      Returns the protocol for the request.
      protected java.net.InetAddress getRequestingSite ()
      Returns the IP address of the request host, or null if not available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Authenticator

        public Authenticator()
    • Method Detail

      • getDefaultUserName

        protected final java.lang.String getDefaultUserName()
        Returns the default user name.
      • getPasswordAuthentication

        protected PasswordAuthentication getPasswordAuthentication()
        Called when password authentication is needed. This method should be overridden by subclasses.
      • getRequestingPort

        protected final int getRequestingPort()
        Returns the port used in the request.
      • getRequestingPrompt

        protected final java.lang.String getRequestingPrompt()
        Returns the user prompt string for the request.
      • getRequestingProtocol

        protected final java.lang.String getRequestingProtocol()
        Returns the protocol for the request.
      • getRequestingSite

        protected final java.net.InetAddress getRequestingSite()
        Returns the IP address of the request host, or null if not available.

AltStyle によって変換されたページ (->オリジナル) /