zoukankan      html  css  js  c++  java
  • Chapter 4. HTTP authentication

    Chapter 4. HTTP authentication

    HttpClient ships with several AuthScheme
    implementations:

    • Basic: 
      Basic authentication scheme as defined in RFC 2617. This authentication
      scheme is insecure, as the credentials are transmitted in clear text.
      Despite its insecurity Basic authentication scheme is perfectly adequate if
      used in combination with the TLS/SSL encryption.

    • Digest. 
      Digest authentication scheme as defined in RFC 2617. Digest authentication
      scheme is significantly more secure than Basic and can be a good choice for
      those applications that do not want the overhead of full transport security
      through TLS/SSL encryption.

    • NTLM: 
      NTLM is a proprietary authentication scheme developed by Microsoft and
      optimized for Windows platforms. NTLM is believed to be more secure than
      Digest.

    • SPNEGO: 
      SPNEGO (Simple and
      Protected GSSAPI
      Negotiation Mechanism) is a GSSAPI
      "pseudo mechanism" that is used to negotiate one of a number of possible
      real mechanisms. SPNEGO's most visible use is in Microsoft's HTTP
      Negotiate
      authentication extension. The negotiable
      sub-mechanisms include NTLM and Kerberos supported by Active Directory.
      At present HttpClient only supports the Kerberos sub-mechanism.

    • Kerberos: 
      Kerberos authentication implementation.

  • 相关阅读:
    问题 K: 找点
    问题 B: 喷水装置(二)(在c++上运行有错误,提交AC了)
    问题 A: 喷水装置(一)
    问题 Q: 最大的数
    问题 O: 寻找最大数(三)
    96.n-1位数
    问题 K: A/B Problem
    问题 D: 某种序列
    被限制的加法
    1031苹果分级
  • 原文地址:https://www.cnblogs.com/lexus/p/2568541.html
Copyright © 2011-2022 走看看