[fix](auth)Compatible with previously enabled ldap configuration (#34891)

This commit is contained in:
zhangdong
2024-05-15 12:36:47 +08:00
committed by GitHub
parent 1f0c45204b
commit f9c42f34dd
3 changed files with 70 additions and 0 deletions

View File

@ -21,6 +21,14 @@ package org.apache.doris.common;
* LDAP configuration
*/
public class LdapConfig extends ConfigBase {
/**
* Flag to enable LDAP authentication.
*/
@Deprecated
@ConfigBase.ConfField
public static boolean ldap_authentication_enabled = false;
/**
* LDAP server ip.
*/