java.net
Class PasswordAuthentication
java.lang.Object
|
+--java.net.PasswordAuthentication
public final class
PasswordAuthenticationextends
Object This class serves a container for username/password pairs.
Since:Author:- Aaron M. Renn (arenn@urbanophile.com)
PasswordAuthentication
public PasswordAuthentication(java.lang.String username, char[] password)
Creates a new PasswordAuthentication object from the specified username
and password.
Parameters:
getPassword
public char[] getPassword()
Returns the password associated with this object
Returns:
getUserName
public String getUserName()
Returns the username associated with this object
Returns: