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.

Список перегрузки

Имя Описание
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)  

См. также




© Корпорация Майкрософт (Microsoft Corporation), 2008.Все права защищены.