JavaScript is disabled on your browser.
javax.mail

Class PasswordAuthentication



  • public final class PasswordAuthentication
    extends java.lang.Object
    Container for a username/password combination.
    • Constructor Summary

      Constructors
      Constructor and Description
      PasswordAuthentication (java.lang.String userName, java.lang.String password)
      Creates a new password authentication
    • Method Summary

      Methods
      Modifier and Type Method and Description
      java.lang.String getPassword ()
      Returns the password.
      java.lang.String getUserName ()
      Returns the username.
      • Methods inherited from class java.lang.Object

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

      • PasswordAuthentication

        public PasswordAuthentication(java.lang.String userName,
         java.lang.String password)
        Creates a new password authentication
        Parameters:
        userName - the username
        password - the password
    • Method Detail

      • getUserName

        public java.lang.String getUserName()
        Returns the username.
      • getPassword

        public java.lang.String getPassword()
        Returns the password.

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