googleapis / googleapis/google-cloud-java

[sdk-platform-java] Future Improvements for "X.509 WIF mTLS-transport support in Java Gax lib"

Ouverte
#12,377 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
priority: p3 type: feature request
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
154

Description

This is a follow-up for https://github.com/googleapis/sdk-platform-java/issues/3851 to address some secondary code organization concerns discovered during PR review. Details are in the linked PR comments, but to summarize a few key points:

1. EndpointContext, GrpcChannelProvider, and HttpJsonChannelProvider each instantiate its own mTLS provider today using a similar but duplicated flow - this could potentially be refactored so that a single mTLS provider can be shared between EndpointContext and the Channel providers.

2. A related concern is to address is the nullability of "CertificateBasedAccess" helper in EndpointContext to make it non-Nullable without breaking existing tests.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.