[
https://issues.apache.org/jira/browse/CAMEL-26744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-26744.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/29417 (thanks Dhairya-007),
merged to main as 8d94012170cc for 4.24.0.
_Claude Code on behalf of davsclaus_
> 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
> Priority: Minor
> 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)