This topic has not yet been rated - Rate this topic

ConfigurationBasedIssuerNameRegistry Class

Windows Identity Foundation


Implements a name service that resolves issuer tokens to strings.


Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
public class ConfigurationBasedIssuerNameRegistry : IssuerNameRegistry
public class ConfigurationBasedIssuerNameRegistry extends IssuerNameRegistry
public class ConfigurationBasedIssuerNameRegistry extends IssuerNameRegistry

ConfigurationBasedIssuerNameRegistry maintains a dictionary of trusted issuers that maps each trust issuer certificate thumbprint to an issuer name. The class can only resolve X.509Certificates. The map can be configured in the App.config or Web.config file by using the following configuration settings.

<microsoft.identityModel>
   <issuerNameRegistry type='ConfigurationBasedIssuerNameRegistry'>
      <trustedIssuers> 
         <!-- To add a map entry to configured trusted issuers -->
         <add thumbprint='ASN.1EncodedFormOfTheThumbprint' name='MappedName' />
         <!-- To remove a map entry from configured trusted issuers -->
         <remove thumbprint='ASN.1EncodedFormOfTheThumbprint' /> 
         <!-- To clear configured trusted issuers -->
         <clear/> 
      <trustedIssuers/> 
   </issuerNameRegistry> 
</microsoft.identityModel>


System.Object
   Microsoft.IdentityModel.Tokens.IssuerNameRegistry
    Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows 7, Windows Server 2008 R2, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2003 SP2 (32-bit or 64-bit)
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ