Hello,
I will periodically call some ESB endpoint (eip pattern or camel endpoint).
This can I do easy by quartz scheduler.
But what when the called endpoint needs authorization?
How can I specify the needed credentials for calling some endpoint from quartz?
It is opposit to some cxfbc:consumer endpoint, that authenticate the user from ws-security header, also the credentials comes from some external client.
But what to do when the start point is a quartz scheduler?
How can I specify the (system) user that is operating on the servicebus?
All my endpoints in the servicebus needs an authorized user to be in the principals.
Thank you for any tips.
Radomir Kadlec
You can use a java bean or something like that to set the needed authenticated details on the exchange/message.
from quartz to bean:myPrepareAuthBean to yyyy