Skip to content

Commit a52fa3e

Browse files
author
Alexander Furer
committed
formatting
1 parent 8f55a9f commit a52fa3e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,16 @@ The way grpc interceptor works is that it intercepts the call and returns the se
265265

266266
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 +
267267

268-
So, for failed authentication/authorization with +
269-
`grpc.security.auth.fail-fast=true`(default): +
268+
Assuming `interceptor_2` is `securityInterceptor` :
270269

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+
+
272272

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>+++
275274

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>+++
277278

278279
=== Distributed tracing support (Spring Cloud Sleuth integration)
279280

0 commit comments

Comments
 (0)