Helper method that Initializes the SecurityTokenManager that will be exposed through the given ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with IdentityServiceConfiguration through the ServiceHost SecurityTokenManager.

ConfigureServiceHost configures a Windows Communication Foundation (WCF) relying party with . Use the overloads of this method to specify configuration details.

ConfigureServiceHost plugs into the WCF processing pipeline by:

  1. Using the existing service credentials to build a FederatedServiceCredentials, which then replaces the existing service credentials.

  2. Replacing the WCF service authorization manager with a WIF authorization manager. Note that this method overwrites any existing authorization manager.

Overload List

Name Description
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase) Helper method that Initializes the SecurityTokenManager that will be exposed through the given ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with IdentityServiceConfiguration through the ServiceHost SecurityTokenManager.
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase, ServiceConfiguration)  
FederatedServiceCredentials.ConfigureServiceHost (ServiceHostBase, String)  

See Also




Copyright © 2008 by Microsoft Corporation. All rights reserved.