|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright 2002-2021 the original author or authors.
|
|
|
+ * Copyright 2002-2023 the original author or authors.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
@@ -38,7 +38,8 @@ import org.springframework.test.context.junit.jupiter.SpringExtension
|
|
|
|
|
|
@ExtendWith(SpringExtension::class)
|
|
|
@ContextConfiguration
|
|
|
-class KotlinEnableReactiveMethodSecurityTests {
|
|
|
+// no authorization manager due to https://github.com/spring-projects/spring-security/issues/12080
|
|
|
+class KotlinEnableReactiveMethodSecurityNoAuthorizationManagerTests {
|
|
|
|
|
|
private lateinit var delegate: KotlinReactiveMessageService
|
|
|
|
|
@@ -211,7 +212,7 @@ class KotlinEnableReactiveMethodSecurityTests {
|
|
|
}
|
|
|
|
|
|
@Configuration
|
|
|
- @EnableReactiveMethodSecurity
|
|
|
+ @EnableReactiveMethodSecurity(useAuthorizationManager = false)
|
|
|
open class Config {
|
|
|
var delegate = mockk<KotlinReactiveMessageService>()
|
|
|
|