Class AuthPolicy

  • @Deprecated
    public abstract class AuthPolicy
    extends Object
    Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.
    Authentication policy class. The Authentication policy provides corresponding authentication scheme interfrace for a given type of authorization challenge.

    The following specifications are provided:

    • Basic: Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported)
    • Digest: Digest authentication scheme as defined in RFC2617
    • NTLM: The NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes)