org.apache.manifoldcf.crawler.connectors.webcrawler
Class CredentialsDescription.NTLMCredential

java.lang.Object
  extended by org.apache.manifoldcf.crawler.connectors.webcrawler.CredentialsDescription.NTLMCredential
All Implemented Interfaces:
AuthenticationCredentials, PageCredentials
Enclosing class:
CredentialsDescription

protected static class CredentialsDescription.NTLMCredential
extends java.lang.Object
implements PageCredentials

NTLM-style credentials


Field Summary
protected  java.lang.String domain
           
protected  java.lang.String password
           
protected  java.lang.String userName
           
 
Fields inherited from interface org.apache.manifoldcf.crawler.connectors.webcrawler.PageCredentials
_rcsid
 
Constructor Summary
CredentialsDescription.NTLMCredential(java.lang.String domain, java.lang.String userName, java.lang.String password)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare against another object
 int hashCode()
          Calculate a hash function
 org.apache.commons.httpclient.Credentials makeCredentialsObject(java.lang.String targetHostName)
          Turn this instance into a Credentials object, given the specified target host name
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domain

protected java.lang.String domain

userName

protected java.lang.String userName

password

protected java.lang.String password
Constructor Detail

CredentialsDescription.NTLMCredential

public CredentialsDescription.NTLMCredential(java.lang.String domain,
                                             java.lang.String userName,
                                             java.lang.String password)
Constructor

Method Detail

makeCredentialsObject

public org.apache.commons.httpclient.Credentials makeCredentialsObject(java.lang.String targetHostName)
                                                                throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
Turn this instance into a Credentials object, given the specified target host name

Specified by:
makeCredentialsObject in interface PageCredentials
Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException

equals

public boolean equals(java.lang.Object o)
Compare against another object

Specified by:
equals in interface AuthenticationCredentials
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Calculate a hash function

Specified by:
hashCode in interface AuthenticationCredentials
Overrides:
hashCode in class java.lang.Object