mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-04 01:32:14 +00:00
Fix typos in RSocket reference docs
This commit is contained in:
parent
ebef8c1425
commit
7f81b3fead
@ -215,7 +215,7 @@ An example configuration can be found below:
|
|||||||
[[source,java]]
|
[[source,java]]
|
||||||
----
|
----
|
||||||
rsocket
|
rsocket
|
||||||
.authorizePayload(authorize ->
|
.authorizePayload(authz ->
|
||||||
authz
|
authz
|
||||||
.setup().hasRole("SETUP") // <1>
|
.setup().hasRole("SETUP") // <1>
|
||||||
.route("fetch.profile.me").authenticated() // <2>
|
.route("fetch.profile.me").authenticated() // <2>
|
||||||
@ -225,7 +225,7 @@ rsocket
|
|||||||
.access((authentication, context) -> checkFriends(authentication, context))
|
.access((authentication, context) -> checkFriends(authentication, context))
|
||||||
.anyRequest().authenticated() // <5>
|
.anyRequest().authenticated() // <5>
|
||||||
.anyExchange().permitAll() // <6>
|
.anyExchange().permitAll() // <6>
|
||||||
)
|
);
|
||||||
----
|
----
|
||||||
<1> Setting up a connection requires the authority `ROLE_SETUP`
|
<1> Setting up a connection requires the authority `ROLE_SETUP`
|
||||||
<2> If the route is `fetch.profile.me` authorization only requires the user be authenticated
|
<2> If the route is `fetch.profile.me` authorization only requires the user be authenticated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user