Browse Source

Deprecate RequiresChannelDsl

Issue gh-16680
pull/17853/head
Josh Cummings 4 months ago
parent
commit
eeb67650ee
No known key found for this signature in database
GPG Key ID: 869B37A20E876129
  1. 1
      config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt

1
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 * @property channelProcessors the [ChannelProcessor] instances to use in
* [ChannelDecisionManagerImpl] * [ChannelDecisionManagerImpl]
*/ */
@Deprecated(message="since 6.5 use redirectToHttps instead")
class RequiresChannelDsl : AbstractRequestMatcherDsl() { class RequiresChannelDsl : AbstractRequestMatcherDsl() {
private val channelSecurityRules = mutableListOf<AuthorizationRule>() private val channelSecurityRules = mutableListOf<AuthorizationRule>()

Loading…
Cancel
Save