From eeb67650eef18e69f79db76c4602dc8f9ea88c2f Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:41:39 -0600 Subject: [PATCH] Deprecate RequiresChannelDsl Issue gh-16680 --- .../security/config/annotation/web/RequiresChannelDsl.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt b/config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt index 17e7838c38..118c523bc6 100644 --- a/config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt +++ b/config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt @@ -35,6 +35,7 @@ import org.springframework.web.servlet.handler.HandlerMappingIntrospector * @property channelProcessors the [ChannelProcessor] instances to use in * [ChannelDecisionManagerImpl] */ +@Deprecated(message="since 6.5 use redirectToHttps instead") class RequiresChannelDsl : AbstractRequestMatcherDsl() { private val channelSecurityRules = mutableListOf()