If you run camel-linkedin quickstart, it is possible to fill accessToken into configuration and with it, all other authentication parameters (userName, userPassword, clientId, clientSecret) are ignored, but can not be empty.
For example this configuration works:
But following configuration should work too (because no real value is removed from the first one):
It should be possible to improve component a little bit to allow empty authentication parameters in case of filled accessToken.
(other possible solution is to forbid accessToken functionality, but it will change back-compatibility and possibly harm some users)
But it should not be allowed to have filled accessToken and also authentication credential, because it will be misleading (for example accessToken could be created for different user)