Added in API level 1
PasswordAuthentication
public
final
class
PasswordAuthentication
extends Object
| java.lang.Object | |
| ↳ | java.net.PasswordAuthentication |
The class PasswordAuthentication is a data holder that is used by Authenticator. It is simply a repository for a user name and a password.
Summary
Public constructors | |
|---|---|
PasswordAuthentication(String userName, char[] password)
Creates a new |
|
Public methods | |
|---|---|
char[]
|
getPassword()
Returns the user password. |
String
|
getUserName()
Returns the user name. |
Inherited methods | |
|---|---|