Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
chang-wd opened this issue Aug 7, 2023 · 0 comments · Fixed by #1117
Closed
1 task done
Assignees
Labels
dev: backend 需要后端开发 type: bug 错误问题
Milestone

Comments

@chang-wd
Copy link
Contributor

chang-wd commented Aug 7, 2023

  • 我已经在 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

chang-wd pushed a commit to chang-wd/KnowStreaming that referenced this issue Aug 7, 2023
configure LDAP authentication and set auth-user-registration: false, result in NPE(Null Pointer Exception) didi#1116
chang-wd pushed a commit to chang-wd/KnowStreaming that referenced this issue Aug 7, 2023
configure LDAP authentication and set auth-user-registration: false, result in NPE(Null Pointer Exception) didi#1116
@ZQKC ZQKC added type: bug 错误问题 dev: backend 需要后端开发 labels Aug 7, 2023
chang-wd pushed a commit to chang-wd/KnowStreaming that referenced this issue Aug 7, 2023
configure LDAP authentication and set auth-user-registration: false, result in NPE(Null Pointer Exception) didi#1116
chang-wd pushed a commit to chang-wd/KnowStreaming that referenced this issue Aug 8, 2023
@ZQKC ZQKC closed this as completed in #1117 Aug 8, 2023
ZQKC pushed a commit that referenced this issue Aug 8, 2023
Configure LDAP And Set auth-user-registration: false will result in NPE(Null Pointer Exception) #1116 

---------

Co-authored-by: weidong_chang <weidong_chang@intsig.net>
@ZQKC ZQKC added this to the v3.4.0 milestone Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev: backend 需要后端开发 type: bug 错误问题
Projects
None yet
2 participants