RSocketSecurity delegates to correct matcher

Fixes gh-7414
This commit is contained in:
Rob Winch
2019-09-09 15:33:15 -05:00
parent 1b699a49fb
commit 6296e6e896
3 changed files with 15 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ public class JwtITests {
.authorizePayload(authorize ->
authorize
.route("secure.admin.*").authenticated()
.anyRequest().permitAll()
.anyExchange().permitAll()
)
.jwt(Customizer.withDefaults());
return rsocket.build();

View File

@@ -261,7 +261,7 @@ public class RSocketMessageHandlerITests {
.authorizePayload(authorize -> {
authorize
.route("secure.*").authenticated()
.anyRequest().permitAll();
.anyExchange().permitAll();
})
.basicAuthentication(Customizer.withDefaults());
return rsocket.build();