Skip to Content
avatar image
Former Member

Change the authorization header value in the incoming REST request

HI ,

I am working on a requirement where i need to change the HTTP header parameter value.

we have a authorization parameter being sent which I need to replace with our own authorization header value before the processing starts, else I am getting a 503 error.

I am looking to to implement a adapter module to precede the standard module to achive the above requirement.

any help will be great.

Thanks

Nikhil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 13, 2017 at 06:22 AM

    Hi Nikhil,

    Can I confirm if you need to allow a REST request to enter SAP PI sender channel without authorisation?

    If so, have you tried the "Allow public access(no authorization required)" option on sender channels Channel selection tab?

    Regards,

    Sanjeev

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2017 at 07:15 AM

    Hi Sanjeev,

    I am getting a request with a oAuth2 token from a third party. I do not want to authenticate that token when the service is called as i am authenticating that token in the java mapping.

    Thanks

    Nikhil

    Add comment
    10|10000 characters needed characters exceeded