2 instantiations of SecurityTokenHandlerCollectionManager
System.IdentityModel (2)
System\IdentityModel\Tokens\SecurityTokenHandlerCollectionManager.cs (2)
114
return new
SecurityTokenHandlerCollectionManager
(ConfigurationStrings.DefaultConfigurationElementName);
124
SecurityTokenHandlerCollectionManager defaultManager = new
SecurityTokenHandlerCollectionManager
(ConfigurationStrings.DefaultServiceName);
42 references to SecurityTokenHandlerCollectionManager
System.IdentityModel (28)
System\IdentityModel\Configuration\IdentityConfiguration.cs (10)
39
SecurityTokenHandlerCollectionManager
_securityTokenHandlerCollectionManager;
427
protected
SecurityTokenHandlerCollectionManager
LoadHandlers(IdentityConfigurationElement serviceElement)
433
SecurityTokenHandlerCollectionManager
manager =
SecurityTokenHandlerCollectionManager
.CreateEmptySecurityTokenHandlerCollectionManager();
510
if (!manager.ContainsKey(
SecurityTokenHandlerCollectionManager
.Usage.Default))
512
manager[
SecurityTokenHandlerCollectionManager
.Usage.Default] = SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection(_serviceHandlerConfiguration);
524
if (!manager.ContainsKey(
SecurityTokenHandlerCollectionManager
.Usage.Default))
526
manager[
SecurityTokenHandlerCollectionManager
.Usage.Default] = SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection(_serviceHandlerConfiguration);
888
public
SecurityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager
906
return _securityTokenHandlerCollectionManager[
SecurityTokenHandlerCollectionManager
.Usage.Default];
System\IdentityModel\Configuration\SecurityTokenHandlerConfigurationElement.cs (1)
24
Name =
SecurityTokenHandlerCollectionManager
.Usage.Default;
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationContext.cs (6)
18
private
SecurityTokenHandlerCollectionManager
securityTokenHandlerCollectionManager;
24
: this(
SecurityTokenHandlerCollectionManager
.CreateDefaultSecurityTokenHandlerCollectionManager())
32
public WSTrustSerializationContext(
SecurityTokenHandlerCollectionManager
securityTokenHandlerCollectionManager)
52
public WSTrustSerializationContext(
SecurityTokenHandlerCollectionManager
securityTokenHandlerCollectionManager, SecurityTokenResolver securityTokenResolver, SecurityTokenResolver useKeyTokenResolver)
98
public
SecurityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager
110
get { return this.securityTokenHandlerCollectionManager[
SecurityTokenHandlerCollectionManager
.Usage.Default]; }
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (6)
296
if (context.SecurityTokenHandlerCollectionManager.ContainsKey(
SecurityTokenHandlerCollectionManager
.Usage.OnBehalfOf))
298
rst.OnBehalfOf = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[
SecurityTokenHandlerCollectionManager
.Usage.OnBehalfOf]);
319
if (context.SecurityTokenHandlerCollectionManager.ContainsKey(
SecurityTokenHandlerCollectionManager
.Usage.ActAs))
321
rst.ActAs = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[
SecurityTokenHandlerCollectionManager
.Usage.ActAs]);
1058
WriteTokenElement((SecurityTokenElement)elementValue,
SecurityTokenHandlerCollectionManager
.Usage.OnBehalfOf, context, writer);
1067
WriteTokenElement((SecurityTokenElement)elementValue,
SecurityTokenHandlerCollectionManager
.Usage.ActAs, context, writer);
System\IdentityModel\Tokens\SecurityTokenHandlerCollectionManager.cs (5)
25
/// Initialize an instance of <see cref="
SecurityTokenHandlerCollectionManager
"/> for a given named service.
112
public static
SecurityTokenHandlerCollectionManager
CreateEmptySecurityTokenHandlerCollectionManager()
121
public static
SecurityTokenHandlerCollectionManager
CreateDefaultSecurityTokenHandlerCollectionManager()
124
SecurityTokenHandlerCollectionManager
defaultManager = new SecurityTokenHandlerCollectionManager(ConfigurationStrings.DefaultServiceName);
127
defaultManager.collections.Add(
SecurityTokenHandlerCollectionManager
.Usage.Default, defaultHandlers);
System.ServiceModel (14)
System\ServiceModel\Description\ClientCredentials.cs (3)
31
SecurityTokenHandlerCollectionManager
securityTokenHandlerCollectionManager = null;
180
public
SecurityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager
190
this.securityTokenHandlerCollectionManager =
SecurityTokenHandlerCollectionManager
.CreateDefaultSecurityTokenHandlerCollectionManager();
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
703
SecurityTokenHandlerCollectionManager
sthcm = this.parent.SecurityTokenHandlerCollectionManager;
704
WsSecurityTokenSerializerAdapter adapter = new WsSecurityTokenSerializerAdapter(sthcm[
SecurityTokenHandlerCollectionManager
.Usage.Default], securityVersion, trustVersion, scVersion, false, null, null, null);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (6)
41
SecurityTokenHandlerCollectionManager
tokenHandlerCollectionManager = null;
271
internal
SecurityTokenHandlerCollectionManager
TokenHandlerCollectionManager
398
SecurityTokenHandlerCollectionManager
.Usage.OnBehalfOf));
412
SecurityTokenHandlerCollectionManager
.Usage.OnBehalfOf));
431
SecurityTokenHandlerCollectionManager
.Usage.ActAs));
479
tokenHandlerCollection = this.tokenHandlerCollectionManager[
SecurityTokenHandlerCollectionManager
.Usage.Default];
System\ServiceModel\Security\WSTrustChannelFactory.cs (3)
68
SecurityTokenHandlerCollectionManager
_securityTokenHandlerCollectionManager
69
=
SecurityTokenHandlerCollectionManager
.CreateDefaultSecurityTokenHandlerCollectionManager();
182
public
SecurityTokenHandlerCollectionManager
SecurityTokenHandlerCollectionManager