From 5bffa4e454ac4596bdab6f1bae3c3127534a26d8 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] 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 455fe6fb08..99a1593038 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.