gnu.inet.http
Class Credentials
java.lang.Object
gnu.inet.http.Credentials
public class Credentials
extends java.lang.Object
Represents a username/password combination that can be used to
authenticate to an HTTP server.
- Chris Burdess
Credentials(String username, String password) - Constructor.
|
Credentials
public Credentials(String username,
String password)
Constructor.
username
- the usernamepassword
- the password
getPassword
public String getPassword()
Returns the password.
getUsername
public String getUsername()
Returns the username.
© Copyright 2003 The Free Software Foundation,
all rights reserved