This checkbox got it's own page, since it needs a bit more explanation than the others. Click here to get back to the GenericWS Overview.
For this to work, you need to have the OIPServerUrl key defined in your S4M.Agent.Host.exe.config file. An example of the value can be found here.
When the Enable Basic Authentication checkbox is checked, it will look for an authentication header upon execution and compares the user and password hash with a file to authenticate. This file (an XML) must be located in: \S4M_DM\DMESB\Data\ExternalWfUser
The XML looks like this:
<?xml version="1.0" encoding="utf-8"?> <ExternalWfUser Name="[NAME]" PasswordHash="[PASWORD_HASH]"/>
There are two variables that need to change in the example above. They are shown as square brackets (). So remove [NAME] (including square brackets) and replace it with the name you want to use.
Do the same for [PASSWORD_HASH]. You can generate a password hash by going to \S4M_DM\Tools. In there, you will find a file named "S4M.PasswordHasher.exe". Hold Shift and right click on the white part in the explorer window (see Figure 1)
When the console opens, type:
TIP: If you type S4M in the console, you can hit the TAB button to auto-complete it to S4M.PasswordHasher.exe.
Change PASSWORD to the password of your choice and hit Enter to execute. The password hash appears. You can copy it by right clicking and select Mark. Select the hash and press the Enter key to copy the selected hash (See Figure 2).
Once you've copied the password hash, paste it into the XML file and save it.
NOTE: The filename must be the same as the username! If the username is "Hank" the file must be called: "Hank.xml" If the listener was still active, you will need to stop it and start it again for the changes to take effect.