Layer7 API Management

  • 1.  How do I remove ${request.http.header.authorization}

    Posted Sep 06, 2017 04:35 PM

    Trying to use the the transport/header properties assertion to remove ${request.http.header.authorization}  but I can still see the Authorization header being passed to our fuse layer? Does someone have an example of how to do this?



  • 2.  Re: How do I remove ${request.http.header.authorization}

    Broadcom Employee
    Posted Sep 07, 2017 06:08 AM

    Maybe you should configure your "Route to Http(s)" assertion, see header Tab

     

    Route via HTTP(S) Assertion - CA API Gateway - 9.2 - CA Technologies Documentation 

     

    Regards



  • 3.  Re: How do I remove ${request.http.header.authorization}

    Posted Sep 07, 2017 07:47 AM

    Nicolas, thank you for your response but I really do not wish to use the Route to Http(s) assertion since it is part of a reusable policy fragment where some consumers will need the basic auth header Below is an attachment of what I am trying to do but not sure why it seems not to be working. 



  • 4.  Re: How do I remove ${request.http.header.authorization}

    Broadcom Employee
    Posted Sep 07, 2017 07:55 AM

    Ok.

     

    So here you are pointing to the Authorization header value and not its name. 

    Simply put "Authorization" in the header name field



  • 5.  Re: How do I remove ${request.http.header.authorization}
    Best Answer

    Posted Sep 07, 2017 08:15 AM

    That worked! Excellent  Nicolas!! I get it now thanks for your help.



  • 6.  Re: How do I remove ${request.http.header.authorization}

    Broadcom Employee
    Posted Sep 07, 2017 08:17 AM

    You're welcome