- In the ProxySG Management Console, navigate to Configuration > Policy > Policy Files.
- Beside Install Local File from: select Text Editor and click Install.
- Copy and paste the following policy into the dialog, and click Install.
<Proxy>
action.ControlRequestHeader1(yes)
define action ControlRequestHeader1
set(request.x_header.username, "$(user.domain)\$(user.name)")
end action ControlRequestHeader1 - In the confirmation dialog, click OK and close the dialog.
- Click Apply.
The HTTP header will include the user's domain name and send it to the upstream server or proxy. For example, username: domain\username