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
SecurityInterceptor sits outer-most in the default configuration and catches any exception coming from inner interceptors. When it catches an exception, it closes the call with UNAUTHENTICATED.
If other interceptors try to close the call early (i.e. in interceptCall, like SecurityInterceptor does per default), they will close the call and throw a StatusRuntimeException. SecurityInterceptor will catch the exception and try to close the call once again with status UNAUTHENTICATED.
From my point of view, the expected behaviour is that SecurityInterceptor does not interfere with exceptions from inner interceptors. They will usually not indicate an authentication problem.
The text was updated successfully, but these errors were encountered:
jGleitz
added a commit
to jGleitz/grpc-spring-boot-starter
that referenced
this issue
Jul 14, 2021
SecurityInterceptor
sits outer-most in the default configuration and catches any exception coming from inner interceptors. When it catches an exception, it closes the call withUNAUTHENTICATED
.If other interceptors try to close the call early (i.e. in
interceptCall
, likeSecurityInterceptor
does per default), they will close the call and throw aStatusRuntimeException
.SecurityInterceptor
will catch the exception and try to close the call once again with statusUNAUTHENTICATED
.From my point of view, the expected behaviour is that
SecurityInterceptor
does not interfere with exceptions from inner interceptors. They will usually not indicate an authentication problem.The text was updated successfully, but these errors were encountered: