One of the challenges of doing this kind of work is testing and debugging. We haven't discussed how to actually integrate the code with the UAG portal, but we will go through that soon. At some point you will have to create the custom files and do a real test with a browser connecting to the UAG trunk. However, before getting there, you better start with simple testing. If you were to do the testing with a real client, you will probably waste a lot of time, as the effort of reconnecting to the portal on each fix-and-retry, not to mention the time it takes for the activation to complete are a real hassle.
To out help comes CSCRIPT, the VBScript interpreter that is built into Windows. All you have to do is write your credential verification code as a standalone file, and save it somewhere with a .VBS
extension. Then, configure Windows to execute the script using the CSCRIPT engine by running the following command in an administrative command prompt:
Cscript...