Closed PerseveranceForever closed 2 years ago
Hi @PerseveranceForever The role guest has been removed.
Hi @PerseveranceForever I could not reproduce this issue. I tried input wrong user or password and got 403.
I have the same problem,My operation steps are as follows:
server start success,but login error(Neither user can login ,root | guest)
log content: java.lang.NullPointerException: null at org.apache.shardingsphere.elasticjob.lite.ui.security.UserAuthenticationService.checkUser(UserAuthenticationService.java:65) at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.handleLogin(AuthenticationFilter.java:76) at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
envirment: 3.0.1
ui
add the application.properties config:
auth.username=root auth.password=root
and then resatart.
Thank you @echo20222022
latest commit : b887fad0da852d2a845d2bf7ab7a9644fcc52a54
[ERROR] 16:02:21.128 [http-nio-8088-exec-8] o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception java.lang.NullPointerException: null at org.apache.shardingsphere.elasticjob.lite.ui.security.UserAuthenticationService.checkUser(UserAuthenticationService.java:65) at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.handleLogin(AuthenticationFilter.java:76) at org.apache.shardingsphere.elasticjob.lite.ui.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)