Book Image

Mastering Microsoft Forefront UAG 2010 Customization

Book Image

Mastering Microsoft Forefront UAG 2010 Customization

Overview of this book

While UAG is built to integrate with many environments and publish dozens of application types, many organizations require a certain level of customization to meet their needs. With this book in hand, you will be equipped to deal with these types of customization scenarios, and you will be confident in using such workarounds without hassle and trial and error. Written by some of the leading experts on UAG, "Mastering Microsoft Forefront UAG 2010 Customization" covers the most complex and challenging options for customizing UAG in a way that is friendly and easy to follow. It walks you through various customization tasks, including explanations and code samples, as well as creative ideas for troubleshooting your work. Until now, only a few of the extensions to UAG's services have been publicly available, and most were only known to a select few. Now, this can include you! Throughout this book, you will tackle how to change the system's look-and-feel, deal with advanced authentication schemes and write special functions that need to be executed as part of the client interaction. With "Mastering Microsoft Forefront UAG 2010 Customization", you too can learn how to customize various aspects of UAG's functionality to enhance your organization or customers' experience.
Table of Contents (16 chapters)
Mastering Microsoft Forefront UAG 2010 Customization
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Testing and debugging your code


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...