Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10368

camel-linkedin: If accessToken is set, other credentials should be unnecessary

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.3
    • Fix Version/s: fuse-7.4-GA
    • Component/s: Camel
    • Labels:
      None

      Description

      When testing the camel-linkedin quickstart I noticed that the userName, userPassword, clientId, clientSecret still need to be set to something for the component to work.
      For example this configuration works:

      <bean id="linkedinConfiguration" class="org.apache.camel.component.linkedin.LinkedInConfiguration">
      	<property name="clientId" value="null"/>
      	<property name="clientSecret" value="null"/>
      	<property name="redirectUri" value="https://localhost"/>
      	<property name="userName" value="null"/>
      	<property name="userPassword" value="null"/>
      	<property name="accessToken" value="very long but correct access token"/>
      </bean>

      But it should be also possible for this to work:

      <bean id="linkedinConfiguration" class="org.apache.camel.component.linkedin.LinkedInConfiguration">
      	<property name="redirectUri" value="https://localhost"/>
      	<property name="accessToken" value="very long but correct access token"/>
      </bean>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jondruse Jiri Ondrusek
                  Reporter:
                  jkasztur Jan Kasztura
                  Tester:
                  Jan Bouska
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: