PasswordAuthentication

public final class PasswordAuthentication extends 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.

Public Constructor Summary

PasswordAuthentication(String userName, char[] password)
Creates a new PasswordAuthentication object from the given user name and password.

Public Method Summary

char[]
getPassword()
Returns the user password.
String
getUserName()
Returns the user name.

Inherited Method Summary