didi / KnowStreaming

一站式云原生实时流数据平台,通过0侵入、插件化构建企业级Kafka服务,极大降低操作、存储和管理实时流数据门槛
https://knowstreaming.com
GNU Affero General Public License v3.0
6.99k stars 1.28k forks source link

configure LDAP authentication and set auth-user-registration: false, result in NPE(Null Pointer Exception) #1116

Closed chang-wd closed 1 year ago

chang-wd commented 1 year ago

环境信息

重现该问题的步骤

  1. configure LDAP authentication in application.yml and set auth-user-registration: false

    auth-user-registration: false # 是否注册到mysql,默认false
  2. login in with LDAP username and pwd, then broswer will alert NPE(Null Pointer Exception).

预期结果

successfully login.

实际结果

NPE and failed.


如果有异常,请附上异常Trace:

image

source code and bug reason:

image