com.oaklandsw.http
Class NtlmCredential

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

public class NtlmCredential
extends UserCredential
implements Credential

Contains the credentials specific to the NTLM authentication protocol.


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

Constructor Detail

NtlmCredential

public NtlmCredential()

NtlmCredential

public NtlmCredential(java.lang.String user,
                      java.lang.String password,
                      java.lang.String host,
                      java.lang.String domain)
Method Detail

getHost

public java.lang.String getHost()
Gets the value of host

Returns:
the value of host

setHost

public void setHost(java.lang.String argHost)
Sets the value of host

Parameters:
argHost - Value to assign to host

getDomain

public java.lang.String getDomain()
Gets the value of domain

Returns:
the value of domain

setDomain

public void setDomain(java.lang.String argDomain)
Sets the value of domain

Parameters:
argDomain - Value to assign to domain

toString

public java.lang.String toString()
Overrides:
toString in class UserCredential


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