Support AD LDAP

This commit is contained in:
fanghanyun
2021-03-09 10:19:08 +08:00
parent f0aba433bf
commit 0a067bce36
4 changed files with 1 additions and 5 deletions

View File

@@ -73,7 +73,6 @@ public enum ResultStatus {
QUOTA_NOT_EXIST(7113, "quota not exist, please check clusterId, topicName and appId"),
CONSUMER_GROUP_NOT_EXIST(7114, "consumerGroup not exist"),
TOPIC_BIZ_DATA_NOT_EXIST(7115, "topic biz data not exist, please sync topic to db"),
LDAP_AUTHENTICATION_FAILED(7116, "LDAP authentication failed"),
// 资源已存在
RESOURCE_ALREADY_EXISTED(7200, "资源已经存在"),
@@ -107,6 +106,7 @@ public enum ResultStatus {
STORAGE_UPLOAD_FILE_FAILED(8050, "upload file failed"),
STORAGE_FILE_TYPE_NOT_SUPPORT(8051, "File type not support"),
STORAGE_DOWNLOAD_FILE_FAILED(8052, "download file failed"),
LDAP_AUTHENTICATION_FAILED(8053, "LDAP authentication failed"),
;

View File

@@ -73,7 +73,6 @@ public enum ResultStatus {
QUOTA_NOT_EXIST(7113, "quota not exist, please check clusterId, topicName and appId"),
CONSUMER_GROUP_NOT_EXIST(7114, "consumerGroup not exist"),
TOPIC_BIZ_DATA_NOT_EXIST(7115, "topic biz data not exist, please sync topic to db"),
LDAP_AUTHENTICATION_FAILED(7116, "LDAP authentication failed"),
// 资源已存在

View File

@@ -73,8 +73,6 @@ public enum ResultStatus {
QUOTA_NOT_EXIST(7113, "quota not exist, please check clusterId, topicName and appId"),
CONSUMER_GROUP_NOT_EXIST(7114, "consumerGroup not exist"),
TOPIC_BIZ_DATA_NOT_EXIST(7115, "topic biz data not exist, please sync topic to db"),
LDAP_AUTHENTICATION_FAILED(7116, "LDAP authentication failed"),
// 资源已存在
RESOURCE_ALREADY_EXISTED(7200, "资源已经存在"),

View File

@@ -1,7 +1,6 @@
package com.xiaojukeji.kafka.manager.common.utils.ldap;
import com.xiaojukeji.kafka.manager.common.utils.ValidateUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;