After creating the Reverse Proxy WAM application and the protected URLs, the last step to enable EmpowerID to protect the AndysBeans application is to add the necessary key/value pairs to the application's Web.config file as described below. Not all of these key/value pairs are used with AndysBeans. For example, the EidInitializeIdentityAssemblyInfo key is used to override the default logic of the Agent for setting the HttpContext Identity. However, these optional keys are included for your information.


This example makes adjustments to the AndysBeans Web.config file. If you prefer, you can add these values to the registry instead.

However, when protecting multiple Web applications, avoid using the registry and instead make your adjustments for each application in the application's config file.

To alter the registry, open Registry Editor, navigate to the TheDotNetFactory\EmpowerID key and add a subkey named WebSettings. You can then add your key/value pairs there.


To configure the Web application for the EmpowerID Reverse Proxy

  1. In the navigation sidebar of the EmpowerID Web interface, expand Admin, then SSO Connections and click SAML.
  2. Search for the reverse proxy application you created for AndysBeans and locate the ACS URL and the User Entered URL.
  3. Copy the GUIDs at the end of the ACS URL and the User Entered URL. You will need to add these values to the AndysBeans Web.config file.



  4. From Windows Explorer, navigate to your Web application folder and open the Web.config file with any text editor.
  5. In the Web.config file, navigate to <appSettings> and add the following key/value pairs:
  6. In the config file, navigate to the <system.webServer> section and add the following under <modules runAllManagedModulesForAllRequests="true">. Make sure the .NET version matches the version of the .NET assembly you received from EmpowerID (Net35 or Net45).





  7. Save your changes and reset IIS.


Now that we have configured the AndysBeans Web.config file for use with the reverse proxy only, we can Testing Web Access Management.







concepts:

Overview of EmpowerID Web Access Management

Overview of the EmpowerID Application Gateway

About the Sample .NET Web Application



agent tasks:

Configuring the Web Application for the Agent

Creating an OAuth Application for Andy's Beans

Testing Web Access Management



reverse proxy tasks:

Installing the EmpowerID Reverse Proxy on Windows Server

Configuring the Reverse Proxy for the Web Application

Testing Web Access Management