Andrey Tyurin created CAMEL-12443:

             Summary: Ability to use 'key' directly instead of pointing 
resource for generateJwtAssertion
                 Key: CAMEL-12443
             Project: Camel
          Issue Type: Improvement
          Components: camel-salesforce
    Affects Versions: 2.21.0
            Reporter: Andrey Tyurin


Could you extend the way of using JWT OAUTH2.0 authorisation for Salesforce 
component? For the current moment it uses resource uri (path to file, 
classpath, URL), but we want to use key directly (from String variable):

String generateJwtAssertion() {


    PrivateKey key = (PrivateKey) keystore.getKey(alias, 


We would like to have possibility to set the key directly from String variable, 
so there will be new way how to configure JWT for SF:

SalesforceLoginConfig loginConfig = new SalesforceLoginConfig();

loginConfig.setKey(keyValue);       <-------------- new option






This message was sent by Atlassian JIRA

Reply via email to