DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Multi Protocol JWT token Validation using AAA action when the Streaming Massage enables

    Posted 2 days ago

    Hello,

    My requirement is to Validate the JWT Auth header value and do a custom Authorization using some xsl/gateway validation which includes some internal backend calls before the document streams to backend, this is flow designed.

    MPG-- Stream Message = enabled
                Req/Resp Tye = passthrogh

    Processing policy

        Request processing Rule--> Action -1) xslt-Get the backend Url & authorization Value(input-INPUT,output - PIPE)

                                                     Action - 2)AAA validation- JWT validator-->Authorization(Allow Any Authenticated User)

                                                                          -->Postprocessing(custom xslt -->extract jwt  information --> call backend and get credentials-->call second backend to get the validations--> call the gateway scripts to perform the validation).

                                                  Action -3) send request to backend.

    Problem: There is no AAA validation happening with the above setup and the request is reaching the backend. there are no logs visible in the Debug probe as well.

    is there any configuration missing in the setup or does the AAA validation perform when the streaming is enabled?.



    ------------------------------
    Sandeep Kolisetti
    ------------------------------


  • 2.  RE: Multi Protocol JWT token Validation using AAA action when the Streaming Massage enables

    Posted 2 days ago

    Without attempting to duplicate your scenario, I'd suggest turning off "pass-through" on your request side.



    ------------------------------
    Joseph Morgan
    CEO - Independent
    ------------------------------



  • 3.  RE: Multi Protocol JWT token Validation using AAA action when the Streaming Massage enables

    Posted 19 hours ago

    That really worked like a Champ!!!, thanks a lot Joseph Morgan!!!



    ------------------------------
    Sandeep Kolisetti
    ------------------------------



  • 4.  RE: Multi Protocol JWT token Validation using AAA action when the Streaming Massage enables

    Posted 12 hours ago

    Honestly, Sandeep, I had my fingers crossed.  I was pretty sure this would work, but, since you are also streaming, it might have just opened up another set of problems!

    I'm glad it worked!



    ------------------------------
    Joseph Morgan
    CEO - Independent
    ------------------------------