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
Fields Modifier and Type Field Description protected org.apache.http.auth.UsernamePasswordCredentials
credentialsObject
protected java.lang.String
password
protected java.lang.String
userName
-
Fields inherited from interface org.apache.manifoldcf.crawler.connectors.webcrawler.PageCredentials
_rcsid
-
-
Constructor Summary
Constructors Constructor Description BasicCredential(java.lang.String userName, java.lang.String password)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Compare against another objectint
hashCode()
Calculate a hash functionorg.apache.http.auth.Credentials
makeCredentialsObject(java.lang.String targetHostName)
Turn this instance into a Credentials object, given the specified target host name
-
-
-
Method Detail
-
makeCredentialsObject
public org.apache.http.auth.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 interfacePageCredentials
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
equals
public boolean equals(java.lang.Object o)
Compare against another object- Specified by:
equals
in interfaceAuthenticationCredentials
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Calculate a hash function- Specified by:
hashCode
in interfaceAuthenticationCredentials
- Overrides:
hashCode
in classjava.lang.Object
-
-