Skip to content

Commit cf2bb62

Browse files
wonwooeleftherias
authored andcommitted
Fix typo in doc
1 parent 8f07ca4 commit cf2bb62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/src/main/kotlin/org/springframework/security/config/web/server/ServerHttpSecurityDsl.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ import org.springframework.web.server.WebFilter
3535
* fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
3636
* return http {
3737
* authorizeExchange {
38-
* exchange("/public", permitAll)
39-
* exchange(anyExchange, authenticated)
38+
* authorize("/public", permitAll)
39+
* authorize(anyExchange, authenticated)
4040
* }
4141
* }
4242
* }
@@ -207,8 +207,8 @@ class ServerHttpSecurityDsl(private val http: ServerHttpSecurity, private val in
207207
* fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
208208
* return http {
209209
* authorizeExchange {
210-
* exchange("/public", permitAll)
211-
* exchange(anyExchange, authenticated)
210+
* authorize("/public", permitAll)
211+
* authorize(anyExchange, authenticated)
212212
* }
213213
* }
214214
* }

0 commit comments

Comments
 (0)