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

Chapter 8. Extending the Login Process with Customization

For the end user, everything starts with logging in to the UAG portal, but that doesn't mean it ends there. Like most of UAG's functionalities, the login process code is open and accessible to the administrator, and that allows you to integrate a special kind of magic into it. In this chapter, we will discuss the following topics:

  • The UAG authentication flow

  • Creating a Post Post Validate file

  • Integrating your own code and interacting with UAG's COM object

  • Putting data into the session

  • Adding parameters

  • Sending data to the backend server

  • More ideas

The UAG authentication flow

The UAG authentication flow actually starts before the logon page is seen by the user. As the browser calls the initial trunk URL, UAG automatically directs the user to a page that initializes the session parameters (Initparams.aspx) in case the user does not yet have an existing session. Once a session is initiated, UAG attempts to detect the presence of its endpoint...