Initializes the SecurityTokenManager that will be exposed through the wrapped ServiceHost. By default the method exposes the SecurityTokenHandlers initialized with SecurityTokenServiceConfiguration through the ServiceHost SecurityTokenManager. Note here we will only re-configure the service host when its credentials is not FederatedServiceCredentials, which allows user to manually configure the credentials themselves.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Me.InitializeSecurityTokenManager

Syntax

Visual Basic
Protected Overridable Sub InitializeSecurityTokenManager
C#
protected virtual void InitializeSecurityTokenManager ()
C++
protected:
virtual void InitializeSecurityTokenManager ()
J#
protected void InitializeSecurityTokenManager ()
JScript
protected function InitializeSecurityTokenManager ()

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also