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()