RSocketSecurity delegates to correct matcher
Fixes gh-7414
This commit is contained in:
@@ -157,7 +157,7 @@ public class JwtITests {
|
||||
.authorizePayload(authorize ->
|
||||
authorize
|
||||
.route("secure.admin.*").authenticated()
|
||||
.anyRequest().permitAll()
|
||||
.anyExchange().permitAll()
|
||||
)
|
||||
.jwt(Customizer.withDefaults());
|
||||
return rsocket.build();
|
||||
|
||||
@@ -261,7 +261,7 @@ public class RSocketMessageHandlerITests {
|
||||
.authorizePayload(authorize -> {
|
||||
authorize
|
||||
.route("secure.*").authenticated()
|
||||
.anyRequest().permitAll();
|
||||
.anyExchange().permitAll();
|
||||
})
|
||||
.basicAuthentication(Customizer.withDefaults());
|
||||
return rsocket.build();
|
||||
|
||||
Reference in New Issue
Block a user