Przeglądaj źródła

HADOOP-15910. Fix Javadoc for LdapAuthenticationHandler#ENABLE_START_TLS

Contributed by Don Jeba.

Change-Id: I2755bfb1263fc659078a1af8f0bdfd739fd1ae40
Don Jeba 6 lat temu
rodzic
commit
204a977f55

+ 3 - 4
hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/LdapAuthenticationHandler.java

@@ -96,9 +96,8 @@ public class LdapAuthenticationHandler implements AuthenticationHandler {
   public static final String LDAP_BIND_DOMAIN = TYPE + ".binddomain";
 
   /**
-   * Constant for the configuration property that indicates the base
-   * distinguished name (DN) to be used with the LDAP server. This value is
-   * appended to the provided user id for authentication purpose.
+   * Constant for the configuration property that indicates whether
+   * the LDAP server supports 'StartTLS' extension.
    */
   public static final String ENABLE_START_TLS = TYPE + ".enablestarttls";
 
@@ -336,4 +335,4 @@ public class LdapAuthenticationHandler implements AuthenticationHandler {
     return endIdx;
   }
 
-}
+}