mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
Fix typo in doc
This commit is contained in:
parent
8f07ca4957
commit
cf2bb62442
@ -35,8 +35,8 @@ import org.springframework.web.server.WebFilter
|
||||
* fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
|
||||
* return http {
|
||||
* authorizeExchange {
|
||||
* exchange("/public", permitAll)
|
||||
* exchange(anyExchange, authenticated)
|
||||
* authorize("/public", permitAll)
|
||||
* authorize(anyExchange, authenticated)
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
@ -207,8 +207,8 @@ class ServerHttpSecurityDsl(private val http: ServerHttpSecurity, private val in
|
||||
* fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
|
||||
* return http {
|
||||
* authorizeExchange {
|
||||
* exchange("/public", permitAll)
|
||||
* exchange(anyExchange, authenticated)
|
||||
* authorize("/public", permitAll)
|
||||
* authorize(anyExchange, authenticated)
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
|
Loading…
x
Reference in New Issue
Block a user