com.oaklandsw.http
Class UserCredential

java.lang.Object
  extended bycom.oaklandsw.http.UserCredential
All Implemented Interfaces:
Credential
Direct Known Subclasses:
NtlmCredential

public class UserCredential
extends java.lang.Object
implements Credential

Records the user/password credentials required by authentication protocols.


Field Summary
 
Fields inherited from interface com.oaklandsw.http.Credential
AUTH_BASIC, AUTH_DIGEST, AUTH_NTLM
 
Constructor Summary
UserCredential()
           
UserCredential(java.lang.String user, java.lang.String password)
           
 
Method Summary
 java.lang.String getPassword()
          Gets the value of password
 java.lang.String getUser()
          Gets the value of user
 void setPassword(java.lang.String argPassword)
          Sets the value of password
 void setUser(java.lang.String argUser)
          Sets the value of user
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserCredential

public UserCredential()

UserCredential

public UserCredential(java.lang.String user,
                      java.lang.String password)
Method Detail

getUser

public java.lang.String getUser()
Gets the value of user

Returns:
the value of user

setUser

public void setUser(java.lang.String argUser)
Sets the value of user

Parameters:
argUser - Value to assign to user

getPassword

public java.lang.String getPassword()
Gets the value of password

Returns:
the value of password

setPassword

public void setPassword(java.lang.String argPassword)
Sets the value of password

Parameters:
argPassword - Value to assign to password

toString

public java.lang.String toString()


Copyright © 2002-2005 Oakland Software Incorporated. All Rights Reserved.