Open rwinch opened 5 years ago
Any progress/plan RSocket interceptors? I'm looking for similar feature of org.springframework.security.oauth2.server.resource.web.reactive.function.client.ServerBearerExchangeFilterFunction
to propagate Authentication details for RSocket requester.
Affects: 5.2.0.BUILD-SNAPSHOT
The
WebClient
supports anExchangeFilterFunction
that allows intercepting the request/response.WebClient
also allows providing attributes that can be used byExchangeFilterFunction
for processing. In combination this allows a user to provide an OAuth token via the attributes and have anExchangeFilterFunction
add the token to the request. TheExchangeFilterFunction
can also refresh the token (a blocking operation) if the token is expired before sending the original request.It would be nice to have the ability to have similar features with the RSocket support.