LDAP测试通过,但是登录失败

版本: 0.23
LDAP测试验证通过

用户也能同步过来,但是使用LDAP的用户和密码登录提示:

检查下该用户是否属于ldap对应的组织,用户有没有禁用之类的
用户所属组织是iam_user表 orpanization_id 字段
image

organization_id是有的

发现choerodon_oauth日志中有如下错误:
2020-12-01 15:26:31.429 WARN 9 — [ XNIO-3 task-85] o.hzero.core.message.RedisMessageSource : resolveCode not found message for code=AbstractUserDetailsAuthenticationProvider.onlySupports
2020-12-01 15:26:31.457 INFO 9 — [ XNIO-3 task-85] o.s.l.c.support.AbstractContextSource : Property ‘userDn’ not set - anonymous context will be used for read-write operations
2020-12-01 15:26:31.462 WARN 9 — [ XNIO-3 task-85] o.h.o.s.c.CustomAuthenticationProvider : user not found

你查询这个用户的login_name是啥 这个么?

login_name 是姓名,只是把名字在第二格抹掉了,中文姓名的拼音组成的,前面那长串数字是choerodon自动生成的id

根据你提供的日志就是ldap没有查询到该用户,查询就是根据ldap的object_calss和login_name_field字段,还有当前用户的loginName。我把查询逻辑贴下面,你在检查下呢

我看好像是没有到这一步,登录错误的时候,URL地址跳转到/oauth/choerodon/login?type=account

按照这段代码理解,是不是LoginField没有找到?

用户名和密码我在LDAP测试中,输入uid和password都是能够验证通过的

是到了的哟。你提供的日志


这一步在校验密码的方法里

这个names是从什么地方传递过来的参数,还是从数据库读取

就是上一步ldap查询的结果。


你要不先把你这个用户改下登录名和邮箱?重新导入下你这个用户看看

我按照咱们这个方式如果不加框里验证的步骤的话,报错和之前的日志一样,咱们代码里是怎么设置LDAP管理账号DN的

按照这个日志的方式,就算第一次没有设置UserDN报错,失败了,但是还是会设置userDN继续查找,但是没有日志,找到用户之后,下一步在哪

不设置用户名密码,会不会进去catch

会到这个方法


会设置用户名密码再去查询

嗯,这个我看到了,所以我觉得用户是验证通过了,如果这一步通过,下一步在哪,是不是还可能报用户名密码错误

我觉得目前不是LDAP的问题了,我使用非LDAP的用户,在管理中心创建了一个新的用户,用户名和密码输入正确,也会提示 “您输入的账号或密码错误”

能提供多一点日志么,又进入这个castch的日志么

非LDAP用户需要使用邮箱号和密码登录

问题类似,确定登录是ldap用户。升级之前是可以登录的。

2021-01-06 13:17:02.638 DEBUG 9 --- [  XNIO-3 task-2] o.s.s.authentication.ProviderManager     : Authentication attempt using org.hzero.oauth.security.custom.CustomAuthenticationProvider
2021-01-06 13:17:02.673  WARN 9 --- [  XNIO-3 task-2] o.hzero.core.message.RedisMessageSource  : resolveCode not found message for code=AbstractUserDetailsAuthenticationProvider.onlySupports
2021-01-06 13:17:02.948 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectLoginUser              : ==>  Preparing: SELECT iu.id, iu.login_name, iu.email, iu.organization_id, iu.hash_password, iu.real_name, iu.phone, iu.language, iu.is_enabled, iu.is_locked, iu.is_ldap, iu.time_zone, iu.is_admin, iu.user_type, iu.image_url, iu.locked_until_at, iu.last_password_updated_at, iu.object_version_number, hui.end_date_active, hui.phone_check_flag, hui.email_check_flag, hui.password_reset_flag, hui.sec_check_phone_flag, hui.sec_check_email_flag, ht.tenant_id, ht.tenant_name, ht.enabled_flag tenant_enabled_flag, ir.id AS role_id, ir.h_tenant_id AS role_tenant_id FROM hzero_platform.iam_user iu JOIN hiam_user_info hui ON iu.id = hui.user_id LEFT JOIN hzero_platform.hpfm_tenant ht ON ht.tenant_id = iu.organization_id LEFT JOIN hzero_platform.iam_member_role imr ON (iu.id = imr.member_id AND imr.member_type = 'user' AND (imr.start_date_active IS NULL OR imr.start_date_active <= ?) AND (imr.end_date_active IS NULL OR imr.end_date_active >= ?)) LEFT JOIN hzero_platform.iam_role ir ON (ir.id = imr.role_id AND ir.is_enabled = 1) WHERE iu.id > 0 AND iu.email = ? AND iu.user_type = ?
2021-01-06 13:17:02.976 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectLoginUser              : ==> Parameters: 2021-01-06(Date), 2021-01-06(Date), xxx@xxx(String), P(String)
2021-01-06 13:17:02.994 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectLoginUser              : <==      Total: 2
2021-01-06 13:17:03.056 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.s.custom.CustomUserDetailsService  : loading login user, username=xxx@xxx, userType=P
2021-01-06 13:17:03.079 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.s.s.i.DefaultUserDetailsWrapper    : >>>>> Before warp[261,1] : CustomUserDetails{userId=261, username=kychen, realName='xxx', email='xxx@xxx', timeZone='CTT', language='zh_CN', roleId=null, roleIds=null, siteRoleIds=null, tenantRoleIds=null, roleMergeFlag=null, tenantId=null, tenantNum='null', tenantIds=null, imageUrl='null', organizationId=1, isAdmin=false, clientId=null, clientName='null', clientAuthorizedGrantTypes=null, clientResourceIds=null, clientScope=null, clientRegisteredRedirectUri=null, clientAccessTokenValiditySeconds=null, clientRefreshTokenValiditySeconds=null, clientAutoApproveScopes=null, additionInfo=null, apiEncryptFlag=0, apiReplayFlag=0, roleLabels='null}
2021-01-06 13:17:03.105 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleDetails            : ==>  Preparing: SELECT hui.default_tenant_id, ir.h_tenant_id AS tenant_id, ir.fd_level, it.tenant_num, hta.access_datetime, huc.default_role_id, huc.role_merge_flag, imr.role_id FROM hzero_platform.iam_member_role imr JOIN hiam_user_info hui ON hui.user_id = imr.member_id JOIN hzero_platform.iam_role ir ON ir.id = imr.role_id AND ir.is_enabled = 1 JOIN hzero_platform.hpfm_tenant it ON it.tenant_id = ir.h_tenant_id AND it.enabled_flag = 1 LEFT JOIN hzero_platform.hiam_tenant_access hta ON hta.user_id = imr.member_id AND hta.tenant_id = it.tenant_id LEFT JOIN hiam_user_config huc ON huc.user_id = imr.member_id AND huc.tenant_id = ir.h_tenant_id WHERE imr.member_id = ? AND imr.member_type = 'user' AND (imr.start_date_active IS NULL OR imr.start_date_active <= ?) AND (imr.end_date_active IS NULL OR imr.end_date_active >= ?) ORDER BY access_datetime DESC, tenant_id, role_id
2021-01-06 13:17:03.108 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleDetails            : ==> Parameters: 261(Long), 2021-01-06(Date), 2021-01-06(Date)
2021-01-06 13:17:03.126 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleDetails            : <==      Total: 2
2021-01-06 13:17:03.162 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleLabels             : ==>  Preparing: SELECT il.name FROM hzero_platform.iam_role ir JOIN hzero_platform.hiam_label_rel ilr ON (ilr.data_type = 'ROLE' AND ilr.data_id = ir.id) JOIN hzero_platform.iam_label il ON il.id = ilr.label_id WHERE ir.is_enabled = 1 AND il.enabled_flag = 1 AND ir.id IN (?, ?)
2021-01-06 13:17:03.168 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleLabels             : ==> Parameters: 12(Long), 13(Long)
2021-01-06 13:17:03.171 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.i.m.U.selectRoleLabels             : <==      Total: 6
2021-01-06 13:17:03.174 DEBUG 9 --- [  XNIO-3 task-2] o.h.o.s.s.i.DefaultUserDetailsWrapper    : >>>>> After warp[261,1] : CustomUserDetails{userId=261, username=kychen, realName='xxx', email='xxx@xxx', timeZone='CTT', language='zh_CN', roleId=12, roleIds=[12, 13], siteRoleIds=[], tenantRoleIds=[12, 13], roleMergeFlag=true, tenantId=1, tenantNum='gds', tenantIds=[1], imageUrl='null', organizationId=1, isAdmin=false, clientId=null, clientName='null', clientAuthorizedGrantTypes=null, clientResourceIds=null, clientScope=null, clientRegisteredRedirectUri=null, clientAccessTokenValiditySeconds=null, clientRefreshTokenValiditySeconds=null, clientAutoApproveScopes=null, additionInfo=null, apiEncryptFlag=0, apiReplayFlag=0, roleLabels='[PROJECT_MEMBER, GITLAB_OWNER, PROJECT_ADMIN, GITLAB_DEVELOPER, PROJECT_ROLE]}
2021-01-06 13:17:03.245  INFO 9 --- [  XNIO-3 task-2] o.s.l.c.support.AbstractContextSource    : Property 'userDn' not set - anonymous context will be used for read-write operations
2021-01-06 13:17:03.397  WARN 9 --- [  XNIO-3 task-2] o.h.o.s.c.CustomAuthenticationProvider   : user not found
2021-01-06 13:17:03.418 DEBUG 9 --- [  XNIO-3 task-2] .s.a.DefaultAuthenticationEventPublisher : No event was found for the exception org.hzero.oauth.security.exception.ErrorWithTimesException
2021-01-06 13:17:03.424 DEBUG 9 --- [  XNIO-3 task-2] w.a.UsernamePasswordAuthenticationFilter : Authentication request failed: org.hzero.oauth.security.exception.ErrorWithTimesException: hoth.warn.passwordError
org.hzero.oauth.security.exception.ErrorWithTimesException: hoth.warn.passwordError
	at org.hzero.oauth.security.custom.CustomAuthenticationProvider.processPasswordLoginError(CustomAuthenticationProvider.java:353) ~[hzero-oauth-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]
	at org.hzero.oauth.security.custom.CustomAuthenticationProvider.checkPassword(CustomAuthenticationProvider.java:285) ~[hzero-oauth-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]
	at org.hzero.oauth.security.custom.CustomAuthenticationProvider.additionalAuthenticationChecks(CustomAuthenticationProvider.java:141) ~[hzero-oauth-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]
	at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:166) ~[spring-security-core-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174) ~[spring-security-core-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199) ~[spring-security-core-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94) ~[spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) ~[spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) [spring-security-web-5.0.9.RELEASE.jar!/:5.0.9.RELEASE]
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:147) [spring-session-core-2.0.7.RELEASE.jar!/:2.0.7.RELEASE]
	at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) [spring-session-core-2.0.7.RELEASE.jar!/:2.0.7.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:120) [spring-boot-actuator-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108) [spring-boot-actuator-2.0.6.RELEASE.jar!/:2.0.6.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.0.10.RELEASE.jar!/:5.0.10.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at org.hzero.oauth.domain.service.ClearResourceFilter.doFilter(ClearResourceFilter.java:34) [hzero-oauth-1.5.2.RELEASE.jar!/:1.5.2.RELEASE]
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830) [undertow-core-1.4.26.Final.jar!/:1.4.26.Final]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_272]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_272]
	at java.lang.Thread.run(Thread.java:823) [na:1.8.0_272]
2021-01-06 13:17:03.425 DEBUG 9 --- [  XNIO-3 task-2] w.a.UsernamePasswordAuthenticationFilter : Updated SecurityContextHolder to contain null Authentication
2021-01-06 13:17:03.425 DEBUG 9 --- [  XNIO-3 task-2] w.a.UsernamePasswordAuthenticationFilter : Delegating to authentication failure handler org.hzero.oauth.security.custom.CustomAuthenticationFailureHandler@97e04562
2021-01-06 13:17:03.429 DEBUG 9 --- [  XNIO-3 task-2] o.s.c.CustomAuthenticationFailureHandler : user login failed, username=xxx@xxx, exMsg=hoth.warn.passwordError
2021-01-06 13:17:03.651 DEBUG 9 --- [  XNIO-3 task-2] o.hzero.core.message.RedisMessageSource  : resolve message: code=hoth.warn.passwordError, message=org.hzero.core.message.Message@6dd36fcd, language=zh_CN
2021-01-06 13:17:03.668 DEBUG 9 --- [  XNIO-3 task-2] o.s.s.web.DefaultRedirectStrategy        : Redirecting to 'https://api.dev.gtp/oauth/choerodon/login?type=account'
2021-01-06 13:17:03.669 DEBUG 9 --- [  XNIO-3 task-2] o.s.s.w.header.writers.HstsHeaderWriter  : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@d9d08914
2021-01-06 13:17:03.670 DEBUG 9 --- [  XNIO-3 task-2] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.
2021-01-06 13:17:03.714 DEBUG 9 --- [  XNIO-3 task-2] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed
2021-01-06 13:17:03.869  WARN 9 --- [mmon-executor-0] io.choerodon.mybatis.helper.AuditHelper  : principal not instanceof CustomUserDetails audit user is 0L
2021-01-06 13:17:03.888 DEBUG 9 --- [mmon-executor-0] o.h.o.i.m.A.insertSelective              : ==>  Preparing: INSERT INTO hpfm_audit_login (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, OBJECT_VERSION_NUMBER, audit_id, audit_type, user_id, login_name, email, tenant_id, login_date, login_ip, login_os, login_browser, login_status, login_message) VALUES (?, ?, ?, ?, 1, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2021-01-06 13:17:03.893 DEBUG 9 --- [mmon-executor-0] o.h.o.i.m.A.insertSelective              : ==> Parameters: 2021-01-06 13:17:03.869(Timestamp), 0(Long), 2021-01-06 13:17:03.869(Timestamp), 0(Long), 134646485961814016(Long), LOGIN_FAILURE(String), 261(Long), kychen(String), xxx@xxx(String), 1(Long), 2021-01-06 13:17:03.85(Timestamp), 172.26.169.60(String), Windows 7(String), Chrome 87.0.4280.88(String), 0(Integer), 您的密码错误,还可以尝试2次(String)
2021-01-06 13:17:03.895 DEBUG 9 --- [mmon-executor-0] o.h.o.i.m.A.insertSelective              : <==    Updates: 1
2021-01-06 13:17:07.630  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Disable delta property : true
2021-01-06 13:17:07.630  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2021-01-06 13:17:07.630  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2021-01-06 13:17:07.630  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application is null : false
2021-01-06 13:17:07.631  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : false
2021-01-06 13:17:07.631  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application version is -1: false
2021-01-06 13:17:07.631  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2021-01-06 13:17:07.648  INFO 9 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : The response status is 200