cancel
Showing results for 
Search instead for 
Did you mean: 

How to handled JWT in sender Rest adapter PO 7.5

former_member587149
Discoverer
0 Kudos

Hi Experts.

I have a requeriment to create an interface Legacy(rest) -> PO -> SAP TRM(proxy) but in the Legacy side a have to implemt the sender rest adapter with JWT security and I don't know how to do it 😞 ... I don't see anything about it in the rest channel configuration.

Could you please give me a sign on how to do it?


Thank you so much.

Accepted Solutions (1)

Accepted Solutions (1)

TomXing
Contributor

Hi Cristina,

afaik, JWT is not supported by PI REST sender channel, and cannot be fulfilled by simple configuration.

Best regards,
Tom

former_member587149
Discoverer
0 Kudos

Hi Tom. Thanks for answer.

It could be solved created a channel module or a java mapping?

TomXing
Contributor
0 Kudos

This can be tricky.

Some concerns in this:

- SAP NetWeaver Java has its own authentication mechanism (login modules).
To make the REST service "JWT-style", perhaps it has to be anonymous from PI Rest point of view.

- If it's done in the mapping - it's also tricky. If any authentication should occur, what kind of error should be returned? At least it should not expect a mapping error...

former_member587149
Discoverer
0 Kudos

Thank you so much Tom.

I will keep in mind.

0 Kudos

Did you find a solution?

markus_karsch5
Explorer
0 Kudos

See SAP Note 2892050 (New Feature: Add Support for OAuth 2.0 JSON Web Token profile in REST Adapter). Seems to be supported since 7.50 SP18, but have not used it myself yet.

Answers (1)

Answers (1)

0 Kudos

Hi, I have the same scenario with a REST Sender, NOT POLLING.

How did you solve it?