Package jakarta.mail

Class PasswordAuthentication

    • Constructor Detail

      • PasswordAuthentication

        public PasswordAuthentication​(String userName,
                                      String password)
        Initialize a new PasswordAuthentication
        Parameters:
        userName - the user name
        password - The user's password
    • Method Detail

      • getUserName

        public String getUserName()
        Returns:
        the user name
      • getPassword

        public String getPassword()
        Returns:
        the password