Skip to content

Commit eeb6765

Browse files
committed
Deprecate RequiresChannelDsl
Issue gh-16680
1 parent c982753 commit eeb6765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import org.springframework.web.servlet.handler.HandlerMappingIntrospector
3535
* @property channelProcessors the [ChannelProcessor] instances to use in
3636
* [ChannelDecisionManagerImpl]
3737
*/
38+
@Deprecated(message="since 6.5 use redirectToHttps instead")
3839
class RequiresChannelDsl : AbstractRequestMatcherDsl() {
3940
private val channelSecurityRules = mutableListOf<AuthorizationRule>()
4041

0 commit comments

Comments
 (0)