FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

xds: Add ext_authz response handling by sauravzg · Pull Request #12896 · grpc/grpc-java · GitHub

/ grpc-java Public

xds: Add ext_authz response handling - #12896

Open
sauravzg wants to merge 1 commit into
dev/sauravzg/request-builderfrom
dev/sauravzg/response-handling
Open

xds: Add ext_authz response handling#12896
sauravzg wants to merge 1 commit into
dev/sauravzg/request-builderfrom
dev/sauravzg/response-handling

Conversation

sauravzg commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Part 2 of the client-side ext_authz filter. Sits on top of #12493.

Adds CheckResponseHandler, which interprets the CheckResponse from the authorization service. It evaluates OkHttpResponse vs DeniedHttpResponse, maps HTTP status codes to gRPC statuses, applies failure_mode_allow semantics when the authz server is unreachable, and validates decoder header mutations against the configured HeaderMutationRulesConfig.

AuthzResponse is the resulting value object carrying the allow/deny decision, the gRPC status for denied calls, and any header/trailer mutations to apply.

Part 2 of the client-side ext_authz filter. Sits on top of #12493.

Adds CheckResponseHandler, which interprets the CheckResponse from
the authorization service. It evaluates OkHttpResponse vs
DeniedHttpResponse, maps HTTP status codes to gRPC statuses, applies
failure_mode_allow semantics when the authz server is unreachable, and
validates decoder header mutations against the configured
HeaderMutationRulesConfig.

AuthzResponse is the resulting value object carrying the allow/deny
decision, the gRPC status for denied calls, and any header/trailer
mutations to apply.
sauravzg requested a review from kannanjgithub July 7, 2026 13:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL