gnu.inet.http
Class Credentials

java.lang.Object
  extended by 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.

Author:
Chris Burdess

Constructor Summary
Credentials(java.lang.String username, java.lang.String password)
          Constructor.
 
Method Summary
 java.lang.String getPassword()
          Returns the password.
 java.lang.String getUsername()
          Returns the username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(java.lang.String username,
                   java.lang.String password)
Constructor.

Parameters:
username - the username
password - the password
Method Detail

getUsername

public java.lang.String getUsername()
Returns the username.


getPassword

public java.lang.String getPassword()
Returns the password.



© Copyright 2003 The Free Software Foundation, all rights reserved