Movatterモバイル変換


[0]ホーム

URL:


         


Class PasswordAuthentication

java.lang.Object  |  +--javax.mail.PasswordAuthentication

public final classPasswordAuthentication
extends java.lang.Object

The class PasswordAuthentication is a data holder that is used by Authenticator. It is simply a repository for a user name and a password.

See Also:
java.net.PasswordAuthentication,Authenticator,Authenticator.getPasswordAuthentication()

PasswordAuthentication(java.lang.String userName, java.lang.String password)
          Initialize a new PasswordAuthentication
 
getPassword()
           
getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

PasswordAuthentication

publicPasswordAuthentication(java.lang.String userName,                              java.lang.String password)
Initialize a new PasswordAuthentication
Parameters:
userName - the user name
password - The user's password

getUserName

public java.lang.StringgetUserName()
Returns:
the user name

getPassword

public java.lang.StringgetPassword()
Returns:
the password

         


[8]ページ先頭

©2009-2025 Movatter.jp