Web Security Services

  • 1.  How do you flush the surrogate credentials cache?

    Posted Jun 06, 2024 07:36 PM

    Hi;

    Is there a way to flush the surrogate credentials cache (cookie or IP) . I am particularly interested in doing that for connection made with WSS agent.

    Kindly

    Wasfi



  • 2.  RE: How do you flush the surrogate credentials cache?
    Best Answer

    Broadcom Employee
    Posted Jun 10, 2024 10:51 AM

    Hi Wasfi,

    There are multiple ways to achieve this.

    1. Use the adv URL of proxy of https://proxy:8082/Auth/IP-Logins/Logout/Realm/{your realm name}/user/{your domain}/%5C{your username}/Ip/{your client IP}. You can curl this or MC script it.
    2. Use the CPL option. You can write a policy that says that if the user hits a website of your choice, it gets logged out on the proxy.

             <proxy "Log out rule">

            <proxy> url="http://company.com/log_out.html" user.login.log_out(yes)</proxy>

    For the first method you need to know the WSS client IP and the user to complete the URL. For the CPL policy option the client IP does not matter. Anybody that hits the URL gets logged out.

        -jan




  • 3.  RE: How do you flush the surrogate credentials cache?

    Broadcom Employee
    Posted Jun 14, 2024 04:28 AM

    Hi Wasfi,

    I got your email, thank you. I tested option 2 and it works with UPE tenant. Btw I am not sure where the "</proxy>" came from. The CPL is just:

    <proxy "User logout">

    url="http://company.com/log_out.html" user.login.log_out(yes)

    -Jan




  • 4.  RE: How do you flush the surrogate credentials cache?

    Broadcom Employee
    Posted Jun 14, 2024 04:49 AM

    Hi Wasfi,

    I actually tested with the ENT agent, running inside a location that is defined as Explicit Proxy with the Agent active, but I did not configure the client explicitly so it just used the agent. After I pushed the CPL above into my UPE tenant and I visited the URL, I could the SAML authN and redirect to my IDP (MSFT's login. icrosoftonline.com) which I did not see before.

    regards,

    jan