From f62d9a9edc314446a84a28fd531546bb047bb69b Mon Sep 17 00:00:00 2001 From: Ivanov Maxim Romanovich <32964154+Doremi203@users.noreply.github.com> Date: Tue, 4 Jun 2024 18:48:49 +0300 Subject: [PATCH 1/2] Fix import for example --- docs/modules/ROOT/pages/reactive/configuration/webflux.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc b/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc index 455fe6fb085..99a1593038f 100644 --- a/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc +++ b/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc @@ -132,7 +132,7 @@ class HelloWebfluxSecurityConfig { ====== [NOTE] -Make sure to import the `org.springframework.security.config.annotation.web.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues. +Make sure to import the `import org.springframework.security.config.web.server.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues. This configuration explicitly sets up all the same things as our minimal configuration. From here, you can more easily make changes to the defaults. From 49f9a8be8275e8c131be8bf0a2aebc2870ef9ecd Mon Sep 17 00:00:00 2001 From: Ivanov Maxim Romanovich <32964154+Doremi203@users.noreply.github.com> Date: Tue, 4 Jun 2024 18:56:34 +0300 Subject: [PATCH 2/2] Removed extra import word --- docs/modules/ROOT/pages/reactive/configuration/webflux.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc b/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc index 99a1593038f..9c9575965bd 100644 --- a/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc +++ b/docs/modules/ROOT/pages/reactive/configuration/webflux.adoc @@ -132,7 +132,7 @@ class HelloWebfluxSecurityConfig { ====== [NOTE] -Make sure to import the `import org.springframework.security.config.web.server.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues. +Make sure to import the `org.springframework.security.config.web.server.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues. This configuration explicitly sets up all the same things as our minimal configuration. From here, you can more easily make changes to the defaults.