IBM Security Verify

Expand all | Collapse all

Response MACROs USERNAME to client

  • 1.  Response MACROs USERNAME to client

    Posted Mon October 18, 2021 12:25 PM
    Hello!
    We use WebSeal based on Appliance 9.0.7.0 
    Can anybody help with returnig MACROs USERNAME to client?
    There are 2 options, that i know:

    [rsp-header-names] - there can return static headers to client, but can`t return any macros - like USERNAME (or i wrong?).
    [rsp-header-names] stanza

    Parameter  http-rsp-header - can return any macros, but return oly on WebSeal custom response (error, redirect, etc).
    http-rsp-header

    I want to return USERNAME on success GET Request. Is there any way to  use HTTP Transformation rule or something else?




    ------------------------------
    Kirill N
    ------------------------------


  • 2.  RE: Response MACROs USERNAME to client

    Posted Tue October 19, 2021 03:41 AM

    I realise it's an extra GET request, but if the idea is to display a username in a page, I use fetch or XHR in script and retrieve a "whoami" resource for this purpose, such as this one: https://community.ibm.com/community/user/security/blogs/shane-weeden1/2018/08/07/implementing-an-isam-credential-viewer-in-infomap

    Once you get to ISVA 10.0, you can use the WebSEAL-provided option: https://community.ibm.com/community/user/security/blogs/shane-weeden1/2020/12/04/rip-epacjsp-2007-2020

    Regards,
    Shane.



    ------------------------------
    Shane Weeden
    IBM
    ------------------------------