You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,15 +265,16 @@ The way grpc interceptor works is that it intercepts the call and returns the se
265
265
266
266
By setting `grpc.security.auth.fail-fast` property to `false` all downstream interceptors as well as all upstream interceptors (On_Message) will still be executed +
267
267
268
-
So, for failed authentication/authorization with +
269
-
`grpc.security.auth.fail-fast=true`(default): +
268
+
Assuming `interceptor_2` is `securityInterceptor` :
270
269
271
-
`interceptor_1(interceptCall)` -> `securityInterceptor(interceptCall)` - *Call is Closed* +++<del>+++ -> `interceptor_3(interceptCall)` -> `interceptor_1(On_Message)`-> `securityInterceptor(On_Message)`-> `interceptor_3(On_Message)`-> `actual service call`+++</del>+++
270
+
* For failed authentication/authorization with `grpc.security.auth.fail-fast=true`(default): +
271
+
+
272
272
273
-
And for failed authentication/authorization with +
274
-
`grpc.security.auth.fail-fast=false`: +
273
+
`interceptor_1(interceptCall)` -> `securityInterceptor(interceptCall)` - *Call is Closed* -> +++<del>+++ -> `interceptor_3(interceptCall)` -> `interceptor_1(On_Message)`-> `securityInterceptor(On_Message)`-> `interceptor_3(On_Message)`-> `actual service call`+++</del>+++
275
274
276
-
`interceptor_1(interceptCall)` -> `securityInterceptor(interceptCall)` -> `interceptor_3(interceptCall)` -> `interceptor_1(On_Message)`-> `securityInterceptor(On_Message)` - *Call is Closed* +++<del>+++-> `interceptor_3(On_Message)`-> `actual service call`+++</del>+++
275
+
* For failed authentication/authorization with `grpc.security.auth.fail-fast=false`: +
276
+
+
277
+
`interceptor_1(interceptCall)` -> `securityInterceptor(interceptCall)` -> `interceptor_3(interceptCall)` -> `interceptor_1(On_Message)`-> `securityInterceptor(On_Message)` - *Call is Closed* -> +++<del>+++-> `interceptor_3(On_Message)`-> `actual service call`+++</del>+++
277
278
278
279
=== Distributed tracing support (Spring Cloud Sleuth integration)
0 commit comments