소스 검색

Deprecate RequiresChannelDsl

Issue gh-16680
Josh Cummings 3 일 전
부모
커밋
eeb67650ee
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt

+ 1 - 0
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<AuthorizationRule>()