| java.lang.Object java.net.PasswordAuthentication
PasswordAuthentication | final public class PasswordAuthentication (Code) | | This class is a data structure that contains the username and password.
|
Constructor Summary | |
public | PasswordAuthentication(String userName, char[] password) Creates an instance of a password authentication with a username and
password. |
Method Summary | |
public char[] | getPassword() Answers the reference of the password of this class. | public String | getUserName() Answers the username of this class. |
PasswordAuthentication | public PasswordAuthentication(String userName, char[] password)(Code) | | Creates an instance of a password authentication with a username and
password.
Parameters: userName - java.lang.String the username Parameters: password - char[] the password |
getPassword | public char[] getPassword()(Code) | | Answers the reference of the password of this class.
char[] the reference of the password |
getUserName | public String getUserName()(Code) | | Answers the username of this class.
java.lang.String the username of this class |
|
|