Gabriel Polo
Gabriel Polo

Reputation: 71

How to authenticate (ws-security) a scheduled task on WSO2 ESB?

I have a proxy on WSO2 Enteprise Service Bus using WS-Security.

I need to do a scheduled task that will call this proxy every day. But I need to post my username and password.

When I create my task, there is no options to authentication! Do I need to create a new Task Implementation?

I know that I can put the credentials inside my payload on "message" field, but I wouldn't like this...

enter image description here

Upvotes: 0

Views: 88

Answers (1)

Jean-Michel
Jean-Michel

Reputation: 5946

Instead of calling directly your proxy from your scheduled task, you could call a sequence which implements the appropriate mediation to manage the authentication

Upvotes: 0

Related Questions