Compartir a través de


SecurityTokenServiceConfiguration (Clase)

Defines the configuration specific to a security token service (STS).

Espacio de nombres: Microsoft.IdentityModel.Configuration
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim instance As SecurityTokenServiceConfiguration

Sintaxis

'Declaración
Public Class SecurityTokenServiceConfiguration
    Inherits ServiceConfiguration
public class SecurityTokenServiceConfiguration : ServiceConfiguration
public ref class SecurityTokenServiceConfiguration : public ServiceConfiguration
public class SecurityTokenServiceConfiguration extends ServiceConfiguration
public class SecurityTokenServiceConfiguration extends ServiceConfiguration

Notas

Security token service configuration class derives from Service Configuration class, which is the base class that contains several properties such as Issuer Name, which is the name of the STS, Signing Credentials, that is the certificate used for signing the token before delivering it to relying party applications.

Security token service configuration defines the following settings that pertain to a security token service:

_defaultTokenLifetime
Type: TimeSpan Description: Defines the token life time. Default value is 10 hours.

_maximumTokenLifetime
Type: TimeSpan Description: Defines the maximum life time of a token issued by the STS. Default is 1 day.

_defaultTokenType
Type: string Description: Defines the type of tokens issued by the STS. WIF has built-in support for SAML 1.1 and SAML 2 tokens. Default token type is set to SAML 1.1.

_defaultSymmetricKeySizeInBits
Type: int Description: Defines the default symmetric key size, in bits. Default value is 256.

_defaultMaxSymmetricKeySizeInBits
Type: int Description: Defines the default maximum symmetric key size, in bits. Default value is 1024.

_endpoints
Type: Collection<ServiceHostEndpointConfiguration> Description: Collection of service host endpoints.

_securityTokenServiceType
Type: Type Description: Defines the type of service, this property must be set to the type of Security Token Service. Or else an ThrowHelperArgument exception is thrown with a message that type of Security Token Service is expected.

_tokenElementRequirement
Type: SecurityTokenRequirement Description: Defines the current token requirements.

_tokenElementHandlers Type: SecurityTokenHandlerCollection Description: Defines the collection of security token handlers.

_tokenElementSerializer
Type: SecurityTokenSerializer Description: Defines the security token serializer that can read and write key identifiers, key identifier clauses, and security tokens.

_tokenElementResolver
Type: SecurityTokenResolver Description: Defines the security token resolver, which is a utility class that can retrieve security tokens or keys when you have a key identifier.

_wsTrust13RequestSerializer
Type: WSTrust13RequestSerializer Description: Defines the WS-Trust 1.3 Request (RST) Serializer.

_wsTrust13ResponseSerializer
Type: WSTrust13ResponseSerializer Description: Defines the WS-Trust 1.3 Response (RSTR) Serializer.

_wsTrustFeb2005RequestSerializer
Type: WSTrustFeb2005RequestSerializer Description: Instance of the early version of WS-Trust protocol request serializer (WS-Trust Feb 2005).

_wsTrustFeb2005ResponseSerializer
Type: WSTrustFeb2005ResponseSerializer Description: Instance of the early version WS-Trust protocol response serializer.

Jerarquía de herencia

System.Object
   Microsoft.IdentityModel.Configuration.ServiceConfiguration
    Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration

Seguridad para subprocesos

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

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

Vea también

Referencia

SecurityTokenServiceConfiguration (Miembros)
Microsoft.IdentityModel.Configuration (Espacio de nombres)