File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
grpc-contrib/src/main/java/com/salesforce/grpc/contrib/xfcc Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 * x-forwarded-client-cert (XFCC) is a proxy header which indicates certificate information of part or all of the
1919 * clients or proxies that a request has flowed through, on its way from the client to the server.
2020 */
21- public class XForwardedClientCert {
21+ public final class XForwardedClientCert {
2222 /**
2323 * The metadata key used to access any present {@link XForwardedClientCert} objects.
2424 */
Original file line number Diff line number Diff line change 1919 * @see <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers.html#config-http-conn-man-headers-x-forwarded-client-cert">Envoy XFCC Header</a>
2020 * @see <a href="https://github.com/linkerd/linkerd/issues/1153">Linkerd XFCC Header</a>
2121 */
22- public class XfccMarshaller implements Metadata .AsciiMarshaller <List <XForwardedClientCert >> {
22+ public final class XfccMarshaller implements Metadata .AsciiMarshaller <List <XForwardedClientCert >> {
2323 @ Override
2424 public String toAsciiString (List <XForwardedClientCert > value ) {
2525 return value .stream ().map (XForwardedClientCert ::toString ).collect (Collectors .joining ("," ));
Original file line number Diff line number Diff line change 2020 * @see <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http_conn_man/headers.html#config-http-conn-man-headers-x-forwarded-client-cert">Envoy XFCC Header</a>
2121 * @see <a href="https://github.com/linkerd/linkerd/issues/1153">Linkerd XFCC Header</a>
2222 */
23- public class XfccServerInterceptor implements ServerInterceptor {
23+ public final class XfccServerInterceptor implements ServerInterceptor {
2424 private static final Metadata .Key <List <XForwardedClientCert >> XFCC_METADATA_KEY = Metadata .Key .of ("x-forwarded-client-cert" , new XfccMarshaller ());
2525
2626 @ Override
You can’t perform that action at this time.
0 commit comments