Claus Ibsen created CAMEL-26744:
-----------------------------------
Summary: camel-grpc - GOOGLE authentication does not validate
serviceAccountResource
Key: CAMEL-26744
URL: https://issues.apache.org/jira/browse/CAMEL-26744
Project: Camel
Issue Type: Bug
Components: camel-grpc
Reporter: Claus Ibsen
Fix For: 4.24.0
GrpcProducer.doStart() null-checks keyCertChainResource on the
authenticationType=GOOGLE path but reports it as "serviceAccountResource", and
then reads serviceAccountResource for the credentials. GOOGLE authentication
requires negotiationType=TLS, and initializeChannel() already asserts
keyCertChainResource, so the check never fires. A route that sets
authenticationType=GOOGLE without serviceAccountResource fails later with a
NullPointerException instead of a clear message.
Fix: validate serviceAccountResource itself.
GitHub PR: https://github.com/apache/camel/pull/29417 (by Dhairya-007)
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)