IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.  getting the authenticated username

    Posted Wed September 07, 2016 06:37 AM

    Hi Forum.

    I have developed a REST service (with Integration Server v9.7) which enables users to upload configuration files.
    Because of documentation reasons i also want to persist the authenticated username of the user.

    I did not find a standard service that returns that username (what does not mean that no standard service exists :stuck_out_tongue: ).

    Does anyone of you know a standard service that retrieves the authenticated username?
    Or does anyone know how to access that information in a custom java service?

    Thanks in advance.

    Martin


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: getting the authenticated username

    Posted Wed September 07, 2016 06:58 AM

    Have you tried “pub.flow:getTransportInfo” service.

    This will have Authorization header which is a base64 encoded string of username and password.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: getting the authenticated username

    Posted Wed September 07, 2016 07:09 AM

    Hi,

    yes but this won´t help with Client Cert Auth :wink:

    Kind regards,
    Martin


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: getting the authenticated username



  • 5.  RE: getting the authenticated username

    Posted Wed September 07, 2016 08:03 AM

    Thank you very much! I will try it out.

    Kind regards,
    Martin


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: getting the authenticated username