org.apache.manifoldcf.crawler.connectors.webcrawler
Class CredentialsDescription.BasicCredential
java.lang.Object
org.apache.manifoldcf.crawler.connectors.webcrawler.CredentialsDescription.BasicCredential
- All Implemented Interfaces:
- AuthenticationCredentials, PageCredentials
- Enclosing class:
- CredentialsDescription
protected static class CredentialsDescription.BasicCredential
- extends java.lang.Object
- implements PageCredentials
Basic type credentials
|
Field Summary |
protected org.apache.commons.httpclient.UsernamePasswordCredentials |
credentialsObject
|
protected java.lang.String |
password
|
protected java.lang.String |
userName
|
| Fields inherited from interface org.apache.manifoldcf.crawler.connectors.webcrawler.PageCredentials |
_rcsid |
|
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 |
userName
protected java.lang.String userName
password
protected java.lang.String password
credentialsObject
protected org.apache.commons.httpclient.UsernamePasswordCredentials credentialsObject
CredentialsDescription.BasicCredential
public CredentialsDescription.BasicCredential(java.lang.String userName,
java.lang.String password)
- Constructor
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