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 85ed5e7cd6..98ba9debb4 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 @@ -33,6 +33,7 @@ import org.springframework.security.web.util.matcher.RequestMatcher * @property channelProcessors the [ChannelProcessor] instances to use in * [ChannelDecisionManagerImpl] */ +@Deprecated(message="since 6.5 use redirectToHttps instead") class RequiresChannelDsl : AbstractRequestMatcherDsl() { private val channelSecurityRules = mutableListOf()