Skip to content

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

@chang-wd

Description

@chang-wd
  • 我已经在 issues 搜索过相关问题了,并没有重复的。

你是否希望来认领这个Bug。

「 Y 」

环境信息

  • KnowStreaming version : 3.3.0
  • Operating System version : centos 7
  • Java version : java version "1.8.0_251"

重现该问题的步骤

  1. configure LDAP authentication in application.yml and set auth-user-registration: false
auth-user-registration: false # 是否注册到mysql,默认false
  1. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions