Authentication properties

You can set the authentication properties in the default.xml file.

The HTTPClient supports four different types of HTTP authentication schemes:
  • Basic
  • Digest
  • NTLM
  • Form
These schemes can be used to authenticate with HTTP servers or proxies. The table below lists the properties that correspond to each authentication scheme.
Property Name Property Value
http.auth.basic String value (default is empty). Specifies the credentials to be used by the HTTPClient for Basic authentication. If the value is empty, Basic authentication is not done for the crawl.
http.auth.digest String value (default is empty). Specifies the credentials to be used by the HTTPClient for Digest authentication. If the value is empty, Digest authentication is not done for the crawl.
http.auth.ntlm String value (default is empty). Specifies the credentials to be used by the HTTPClient for NTLM authentication. If the value is empty, NTLM authentication is not done for the crawl.
http.auth.form.credentials.file File name (default is form-credentials.xml). Specifies the file in the configuration directory that provides the credentials for Form-based authentication. If the value is empty, Form authentication is not done for the crawl.