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.UsernamePasswordCredentialscredentialsObjectprotected java.lang.Stringpasswordprotected java.lang.StringuserName-
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 booleanequals(java.lang.Object o)Compare against another objectinthashCode()Calculate a hash functionorg.apache.http.auth.CredentialsmakeCredentialsObject(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.ManifoldCFExceptionTurn this instance into a Credentials object, given the specified target host name- Specified by:
makeCredentialsObjectin interfacePageCredentials- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
equals
public boolean equals(java.lang.Object o)
Compare against another object- Specified by:
equalsin interfaceAuthenticationCredentials- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Calculate a hash function- Specified by:
hashCodein interfaceAuthenticationCredentials- Overrides:
hashCodein classjava.lang.Object
-
-