You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2022/12/03 10:13:49 UTC

[httpcomponents-client] 02/05: Removed references in specific RFCs

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch bearer_auth_support
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git

commit 8b791b7e21d3699515fd663b9592340845a67f77
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Nov 26 23:07:30 2022 +0100

    Removed references in specific RFCs
---
 .../java/org/apache/hc/client5/http/auth/StandardAuthScheme.java    | 6 +++---
 .../main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java | 2 +-
 .../java/org/apache/hc/client5/http/impl/auth/DigestScheme.java     | 5 ++---
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/auth/StandardAuthScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/auth/StandardAuthScheme.java
index feb7e6c51..51371cc7b 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/auth/StandardAuthScheme.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/auth/StandardAuthScheme.java
@@ -39,13 +39,13 @@ public final class StandardAuthScheme {
     }
 
     /**
-     * Basic authentication scheme as defined in RFC 2617 (considered inherently
-     * insecure without transport encryption, but most widely supported).
+     * Basic authentication scheme (considered inherently insecure without transport encryption,
+     * but most widely supported).
      */
     public static final String BASIC = "Basic";
 
     /**
-     * Digest authentication scheme as defined in RFC 2617.
+     * Digest authentication scheme.
      */
     public static final String DIGEST = "Digest";
 
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java
index d6d0d027c..03bf73e45 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java
@@ -61,7 +61,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Basic authentication scheme as defined in RFC 2617.
+ * Basic authentication scheme.
  *
  * @since 4.0
  */
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java
index f73f59055..fb8b97d92 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java
@@ -71,7 +71,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Digest authentication scheme as defined in RFC 2617.
+ * Digest authentication scheme.
  * Both MD5 (default) and MD5-sess are supported.
  * Currently only qop=auth or no qop is supported. qop=auth-int
  * is unsupported. If auth and auth-int are provided, auth is
@@ -443,8 +443,7 @@ public class DigestScheme implements AuthScheme, Serializable {
     }
 
     /**
-     * Encodes the 128 bit (16 bytes) MD5 digest into a 32 characters long
-     * {@code String} according to RFC 2617.
+     * Encodes the 128 bit (16 bytes) MD5 digest into a 32 characters long string.
      *
      * @param binaryData array containing the digest
      * @return encoded MD5, or {@code null} if encoding failed