You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/09/08 18:44:06 UTC

[tomcat] branch main updated: More minor clean-up

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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 3822441958 More minor clean-up
3822441958 is described below

commit 382244195870670d587ad0ce5f5684129ac821e2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 8 19:43:57 2022 +0100

    More minor clean-up
---
 java/org/apache/tomcat/websocket/Authenticator.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/tomcat/websocket/Authenticator.java b/java/org/apache/tomcat/websocket/Authenticator.java
index ccfc748de8..aacbdb47f0 100644
--- a/java/org/apache/tomcat/websocket/Authenticator.java
+++ b/java/org/apache/tomcat/websocket/Authenticator.java
@@ -29,7 +29,7 @@ public abstract class Authenticator {
     private static final Pattern pattern = Pattern.compile("(\\w+)\\s*=\\s*(\"([^\"]+)\"|([^,=\"]+))\\s*,?");
 
     /**
-     * Generate the authorization header that will be sent to the server.
+     * Generate the authorization header value that will be sent to the server.
      *
      * @param requestUri         The request URI
      * @param authenticateHeader The server authentication header received
@@ -44,6 +44,7 @@ public abstract class Authenticator {
 
     /**
      * Get the authentication method.
+     *
      * @return the authentication scheme
      */
     public abstract String getSchemeName();
@@ -51,7 +52,7 @@ public abstract class Authenticator {
     /**
      * Utility method to parse the authentication header.
      *
-     * @param authenticateHeader The server authentication header received
+     * @param authenticateHeader The server authenticate header received
      *
      * @return a map of authentication parameter names and values
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org