You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/27 17:43:45 UTC
[GitHub] [camel-quarkus] ismailbaskin opened a new issue, #3754: KeyStoreParameters is not in reflection list on Salesforce component.
ismailbaskin opened a new issue, #3754:
URL: https://github.com/apache/camel-quarkus/issues/3754
Camel salesforce component uses KeyStoreParameters for OAuth JWT flow which is recommended way for production. [camel.component.salesforce.keystore](https://camel.apache.org/components/3.16.x/salesforce-component.html#_sb_option_camel_component_salesforce_keystore)
The problem is `org.apache.camel.support.jsse.KeyStoreParameters` is not in reflection list. So, if you want to use camel-salesforce with OAuth JWT authantication, `KeyStoreParameters` class needs to be added [reflection-config.json](https://quarkus.io/guides/writing-native-applications-tips#including-resources).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3754: KeyStoreParameters is not in reflection list on Salesforce component.
Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #3754:
URL: https://github.com/apache/camel-quarkus/issues/3754#issuecomment-1111520272
Also there is no need for `reflection-config.json`. You can use the `RegisterForReflection` annotation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] zhfeng closed issue #3754: KeyStoreParameters is not in reflection list on Salesforce component.
Posted by GitBox <gi...@apache.org>.
zhfeng closed issue #3754: KeyStoreParameters is not in reflection list on Salesforce component.
URL: https://github.com/apache/camel-quarkus/issues/3754
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ismailbaskin commented on issue #3754: KeyStoreParameters is not in reflection list on Salesforce component.
Posted by GitBox <gi...@apache.org>.
ismailbaskin commented on issue #3754:
URL: https://github.com/apache/camel-quarkus/issues/3754#issuecomment-1111560201
camel-salesforce [configures keystore](https://github.com/apache/camel/blob/b890d82f929cd79c3e37da7ccf6ae1482ef082d9/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceLoginConfig.java#L166=) when these properties are available.
```
camel.component.salesforce.keystore.resource=${salesforce.keystore.file}
camel.component.salesforce.keystore.password=${salesforce.keystore.password}
```
It's been a long time since I used Quarkus and I was not aware of RegisterForReflection annotation usage for 3rd party classes. I'll definitely use it, Thank you. However, I don't like to use such workarounds for a library that has Quarkus support.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3754: KeyStoreParameters is not in reflection list on Salesforce component.
Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #3754:
URL: https://github.com/apache/camel-quarkus/issues/3754#issuecomment-1111517779
How are you configuring the `keystore` option on the Salesforce component?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org