Issue integrating with Azure AD
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- aws, azure, java, spring-boot
- 领域
- api, authentication, backend, cloud
调研方向
未指定任何仓库文件或测试。首先跟踪 Lambda handler 的请求处理流程以及 SecurityConfigDB 和 AADSecurityConfig,然后比较 /auth/v1/healthCheck 的 Spring Security 日志;当端点返回 200,且没有报告中的超时或授权失败时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
To help us debug your issue fill in the basic information below using the options provided
Serverless Java Container version: 1.6
Implementations: Spring Boot 2
Framework version: SpringBoot 2.6.3.RELEASE
Frontend service: REST API
Deployment method: Deployed on Lambda exposed using API Gateway (REST API)
Scenario
After integrating the lambda handler with my application , it works fine but when i try to add one more security configuration for Azure AD using AADResourceServerWebSecurityConfigurerAdapter from library azure-spring-boot-starter-active-directory , I get the following error:
Null Pointer Exception - when no content ttype is set or
pathPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'GET /login - when content type is set
Expected behavior
200
Actual behavior
504-Gateway timeout with error as listed above
Steps to reproduce
@Configuration
@Order(1)
public class SecurityConfigDB extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.cors().configurationSource(corsConfigurationSource());
http.csrf().disable();
http.antMatcher("/api/**").csrf().disable()
.exceptionHandling()
.authenticationEntryPoint(authenticationEntryPoint)
.accessDeniedHandler(accessDeniedHandler)
.and()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and()
.authorizeRequests()
.antMatchers(AUTH_WHITELIST).permitAll()
.anyRequest()
.authenticated()
;
http.addFilterBefore(jwtAuthenticationFilter(), UsernamePasswordAuthenticationFilter.class);
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.authenticationProvider(dbAuthenticationProvider);
}
@Override
@Bean
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
}
@Configuration
@Order(2)
public class AADSecurityConfig extends AADResourceServerWebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
super.configure(http);
http.cors().configurationSource(corsConfigurationSource());
http
.authorizeRequests()
.antMatchers(AUTH_WHITELIST).permitAll().and()
.antMatcher("/oauth/**")
.authorizeRequests((requests) -> requests.anyRequest().authenticated())
.csrf().disable()
.exceptionHandling()
.authenticationEntryPoint(authenticationEntryPoint)
.accessDeniedHandler(accessDeniedHandler)
.and()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS)
;
}
}
Full log output
2022-03-30 08:22:22.911 INFO --- [ main] c.a.s.p.internal.LambdaContainerHandler : Starting Lambda Container Handler
2022-03-30 08:22:23.202 INFO --- [ main] c.a.s.proxy.AsyncInitializationWrapper : Async initialization will wait for 8290ms
2022-03-30 08:22:23.203 INFO --- [ Thread-0] c.a.s.proxy.AsyncInitializationWrapper : Starting async initializer
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.6.3)
2022-03-30 08:22:29.647 INFO 9 --- [ Thread-0] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2022-03-30 08:22:29.744 INFO 9 --- [ Thread-0] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.4.Final
2022-03-30 08:22:30.067 INFO 9 --- [ Thread-0] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
START RequestId: 356e429e-cecf-4ccf-a3a8-1ecdd819a941 Version: $LATEST
2022-03-30 08:22:30.243 INFO 9 --- [ Thread-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2022-03-30 08:22:30.591 INFO 9 --- [ Thread-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2022-03-30 08:22:30.612 INFO 9 --- [ Thread-0] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
2022-03-30 08:22:31.493 INFO 9 --- [ main] c.a.s.proxy.AsyncInitializationWrapper : Initialization took longer than 10000, setting new CountDownLatch and continuing in event handler
2022-03-30 08:22:32.521 INFO 9 --- [ Thread-0] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-03-30 08:22:44.813 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/v2/api-docs']
2022-03-30 08:22:44.848 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/swagger-resources']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/swagger-resources/']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/configuration/ui']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/configuration/security']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/swagger-ui.html']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/webjars/']
2022-03-30 08:22:44.849 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/v3/api-docs/']
2022-03-30 08:22:44.850 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/swagger-ui/']
2022-03-30 08:22:44.850 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/oauth']
2022-03-30 08:22:44.850 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/oauth/']
2022-03-30 08:22:44.850 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [permitAll] for Ant [pattern='/auth/v1/']
2022-03-30 08:22:44.850 DEBUG 9 --- [ Thread-0] edFilterInvocationSecurityMetadataSource : Adding web access control expression [authenticated] for any request
2022-03-30 08:22:44.947 INFO 9 --- [ Thread-0] o.s.s.web.DefaultSecurityFilterChain : Will secure Ant [pattern='/oauth/**'] with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@71959ece, org.springframework.security.web.context.SecurityContextPersistenceFilter@189ad29e, org.springframework.security.web.header.HeaderWriterFilter@3a3b8008, org.springframework.web.filter.CorsFilter@74d2643e, org.springframework.security.web.authentication.logout.LogoutFilter@fa7b4f4, org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter@cdddbf, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6270c0ca, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6f6f5431, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5f26801c, org.springframework.security.web.session.SessionManagementFilter@39013c12, org.springframework.security.web.access.ExceptionTranslationFilter@3e3a59bb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2412c67e]
2022-03-30 08:22:50.755 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=POST}
2022-03-30 08:22:50.757 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'POST /login'
2022-03-30 08:22:50.757 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:22:50.758 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=GET}
2022-03-30 08:22:50.758 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'GET /login'
2022-03-30 08:22:50.767 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:22:50.768 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=GET}
2022-03-30 08:22:50.769 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'GET /logout'
2022-03-30 08:22:50.769 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:22:50.907 DEBUG 9 --- [ parallel-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=POST}
2022-03-30 08:22:50.907 DEBUG 9 --- [ parallel-1] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'POST /logout'
2022-03-30 08:22:50.907 DEBUG 9 --- [ parallel-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:22:50.914 DEBUG 9 --- [ parallel-1] a.DelegatingReactiveAuthorizationManager : Checking authorization on '/auth/v1/healthCheck' using org.springframework.security.authorization.AuthenticatedReactiveAuthorizationManager@18d1b8a2
2022-03-30 08:22:50.917 DEBUG 9 --- [ parallel-1] ebSessionServerSecurityContextRepository : No SecurityContext found in WebSession: 'org.springframework.web.server.session.InMemoryWebSessionStore$InMemoryWebSession@6ab17b89'
2022-03-30 08:22:50.918 DEBUG 9 --- [ parallel-1] o.s.s.w.s.a.AuthorizationWebFilter : Authorization failed: Access Denied
2022-03-30 08:22:50.992 DEBUG 9 --- [ parallel-1] ebSessionServerSecurityContextRepository : No SecurityContext found in WebSession: 'org.springframework.web.server.session.InMemoryWebSessionStore$InMemoryWebSession@6ab17b89'
2022-03-30 08:22:50.993 DEBUG 9 --- [ parallel-1] DelegatingServerAuthenticationEntryPoint : Trying to match using MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[/]]
2022-03-30 08:22:50.993 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:22:50.994 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:22:50.994 DEBUG 9 --- [ parallel-1] DelegatingServerAuthenticationEntryPoint : Trying to match using OrServerWebExchangeMatcher{matchers=[org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021, AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}, MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]]}]}
2022-03-30 08:22:50.995 DEBUG 9 --- [ parallel-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021
2022-03-30 08:22:50.996 DEBUG 9 --- [ parallel-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}, MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]]}
2022-03-30 08:22:51.007 DEBUG 9 --- [ parallel-1] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Trying to match using NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}
2022-03-30 08:22:51.008 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:22:51.008 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:22:51.009 DEBUG 9 --- [ parallel-1] .w.s.u.m.NegatedServerWebExchangeMatcher : matches = true
2022-03-30 08:22:51.009 DEBUG 9 --- [ parallel-1] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Trying to match using MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Did not match
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] DelegatingServerAuthenticationEntryPoint : No match found. Using default entry point org.springframework.security.web.server.DelegatingServerAuthenticationEntryPoint@273bf697
2022-03-30 08:22:51.010 DEBUG 9 --- [ parallel-1] DelegatingServerAuthenticationEntryPoint : Trying to match using org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021
2022-03-30 08:22:51.011 DEBUG 9 --- [ parallel-1] DelegatingServerAuthenticationEntryPoint : No match found. Using default entry point org.springframework.security.web.server.authentication.HttpBasicServerAuthenticationEntryPoint@3ac69616
2022-03-30 08:22:51.050 INFO 9 --- [ main] c.a.s.p.internal.LambdaContainerHandler : test-invoke-source-ip arn:aws:sts::#########:assumed-role/#########arn:aws:sts::#########:assumed-role/######### arn:aws:sts::#########:assumed-role/######### [30/03/2022:08:22:21Z] "GET /auth/v1/healthCheck HTTP/1.1" 401 - "####" "aws-internal/3 aws-sdk-java/1.12.162 Linux/5.4.176-103.347.amzn2int.x86_64 OpenJDK_64-Bit_Server_VM/25.322-b06 java/1.8.0_322 vendor/Oracle_Corporation cfg/retry-mode/standard" combined
END RequestId: 356e429e-cecf-4ccf-a3a8-1ecdd819a941
REPORT RequestId: 356e429e-cecf-4ccf-a3a8-1ecdd819a941 Duration: 19565.99 ms Billed Duration: 19566 ms Memory Size: 1024 MB Max Memory Used: 354 MB Init Duration: 9923.44 ms
With Content-Type Error:
START RequestId: 7936b777-82e6-4a54-bda8-04f4a36f52db Version: $LATEST
2022-03-30 08:24:03.587 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=POST}
2022-03-30 08:24:03.587 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'POST /login'
2022-03-30 08:24:03.588 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:24:03.588 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=GET}
2022-03-30 08:24:03.588 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'GET /login'
2022-03-30 08:24:03.588 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:24:03.588 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=GET}
2022-03-30 08:24:03.589 DEBUG 9 --- [ main] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'GET /logout'
2022-03-30 08:24:03.589 DEBUG 9 --- [ main] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:24:03.590 DEBUG 9 --- [ parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=POST}
2022-03-30 08:24:03.590 DEBUG 9 --- [ parallel-2] athPatternParserServerWebExchangeMatcher : Request 'GET /auth/v1/healthCheck' doesn't match 'POST /logout'
2022-03-30 08:24:03.590 DEBUG 9 --- [ parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:24:03.591 DEBUG 9 --- [ parallel-2] a.DelegatingReactiveAuthorizationManager : Checking authorization on '/auth/v1/healthCheck' using org.springframework.security.authorization.AuthenticatedReactiveAuthorizationManager@18d1b8a2
2022-03-30 08:24:03.591 DEBUG 9 --- [ parallel-2] ebSessionServerSecurityContextRepository : No SecurityContext found in WebSession: 'org.springframework.web.server.session.InMemoryWebSessionStore$InMemoryWebSession@69bb3445'
2022-03-30 08:24:03.591 DEBUG 9 --- [ parallel-2] o.s.s.w.s.a.AuthorizationWebFilter : Authorization failed: Access Denied
2022-03-30 08:24:03.592 DEBUG 9 --- [ parallel-2] ebSessionServerSecurityContextRepository : No SecurityContext found in WebSession: 'org.springframework.web.server.session.InMemoryWebSessionStore$InMemoryWebSession@69bb3445'
2022-03-30 08:24:03.592 DEBUG 9 --- [ parallel-2] DelegatingServerAuthenticationEntryPoint : Trying to match using MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[/]]
2022-03-30 08:24:03.592 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:24:03.592 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:24:03.592 DEBUG 9 --- [ parallel-2] DelegatingServerAuthenticationEntryPoint : Trying to match using OrServerWebExchangeMatcher{matchers=[org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021, AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}, MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]]}]}
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}, MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]]}
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Trying to match using NegatedServerWebExchangeMatcher{matcher=MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[]]}
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:24:03.593 DEBUG 9 --- [ parallel-2] .w.s.u.m.NegatedServerWebExchangeMatcher : matches = true
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Trying to match using MediaTypeRequestMatcher [matchingMediaTypes=[application/atom+xml, application/x-www-form-urlencoded, application/json, application/octet-stream, application/xml, multipart/form-data, text/xml], useEquals=false, ignoredMediaTypes=[/]]
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : httpRequestMediaTypes=[]
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] .s.u.m.MediaTypeServerWebExchangeMatcher : Did not match any media types
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] .s.s.w.s.u.m.AndServerWebExchangeMatcher : Did not match
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] DelegatingServerAuthenticationEntryPoint : No match found. Using default entry point org.springframework.security.web.server.DelegatingServerAuthenticationEntryPoint@273bf697
2022-03-30 08:24:03.594 DEBUG 9 --- [ parallel-2] DelegatingServerAuthenticationEntryPoint : Trying to match using org.springframework.security.config.web.server.ServerHttpSecurity$HttpBasicSpec$$Lambda$981/717428152@74bb7021
2022-03-30 08:24:03.595 DEBUG 9 --- [ parallel-2] DelegatingServerAuthenticationEntryPoint : No match found. Using default entry point org.springframework.security.web.server.authentication.HttpBasicServerAuthenticationEntryPoint@3ac69616
2022-03-30 08:24:03.608 INFO 9 --- [ main] c.a.s.p.internal.LambdaContainerHandler : test-invoke-source-ip arn:aws:sts::#########:assumed-role/#########arn:aws:sts::#########:assumed-role/######### arn:aws:sts::#########:assumed-role/######### [30/03/2022:08:24:03Z] "GET /auth/v1/healthCheck HTTP/1.1" 401 - "#########:#########" "aws-internal/3 aws-sdk-java/1.12.162 Linux/5.4.176-103.347.amzn2int.x86_64 OpenJDK_64-Bit_Server_VM/25.322-b06 java/1.8.0_322 vendor/Oracle_Corporation cfg/retry-mode/standard" combined
END RequestId: 7936b777-82e6-4a54-bda8-04f4a36f52db
Much Appreciated if resolved soon.
Thankyou
- 主要语言
- Java
- 星标
- 1.6k
- 派生
- 575
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/serverless-java-container 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/serverless-java-container#1729 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
aws/serverless-java-container#1715 ·
维护者通常 1 天内回复
-
Support for API Gateway mTLS clientCert field可能已有人在做 @2748109647 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 48/100
aws/serverless-java-container#1726 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
aws/serverless-java-container#1579 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
aws/serverless-java-container#1568 · 1 条评论 ·
维护者通常 1 天内回复
查看 aws/serverless-java-container 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
ls1intum/thesis-management#1473 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
LunaDeerMC/Dominion#301 · 1 条评论 ·
-
[FEATURE] Expose external refresh, node-level translog and warmer stats可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭untriaged
难度 2/5 1-3 小时 新手友好度 68/100
opensearch-project/opensearch-prometheus-exporter#680 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100