• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #20444
89%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2026 07:02PM UTC
Jobs 1
Files 689
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Sep 2026 06:51PM UTC coverage: 89.25% (+0.04%) from 89.211%
#20444

push

github

web-flow
feat(xds): Implement  CheckRequestBuilder for external authorization  (#12493)

This PR sits on top of #12492, so only the last commit + any fixups need
to be reviewed.

This commit introduces the `CheckRequestBuilder` library, which is
responsible for constructing the `CheckRequest` message sent to the
external authorization service.

The `CheckRequestBuilder` gathers information from various sources,
including:
- `ServerCall` attributes (local and remote addresses, SSL session).
- `MethodDescriptor` (full method name).
- Request headers.

It uses this information to populate the `AttributeContext` of the
`CheckRequest` message, which provides the authorization service with
the necessary context to make an authorization decision.

This commit also introduces the `ExtAuthzCertificateProvider`, a helper
class for extracting certificate information, such as the principal and
PEM-encoded certificate.

The relevant section of the spec is:
https://github.com/grpc/proposal/pull/481/files#diff-6bb76a24ad2fd8849f164244e68cd54eaR196-R250

Unit tests for the new components are also included.

38780 of 43451 relevant lines covered (89.25%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
74.14
-5.17% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
5
95.56
-0.4% ../xds/src/main/java/io/grpc/xds/ExternalProcessorClientInterceptor.java
1
96.55
-0.57% ../xds/src/main/java/io/grpc/xds/client/LoadReportClient.java
1
96.55
-1.72% ../xds/src/main/java/io/grpc/xds/internal/security/certprovider/CertificateProvider.java
Jobs
ID Job ID Ran Files Coverage
1 #20444.1 07 Sep 2026 07:02PM UTC 689
89.25
Source Files on build #20444
  • Tree
  • List 689
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20444
  • 64daddc1 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc