37 references to EmptyReadOnlyCollection
System.ServiceModel (37)
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
230
authorizationPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
283
authorizationPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (3)
227
security.RecipientToken = (recipientToken != null) ? new SecurityTokenSpecification(recipientToken,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance) : null;
236
security.InitiatorToken = (initiatorToken != null) ? new SecurityTokenSpecification(initiatorToken,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance) : null;
238
security.ServiceSecurityContext = new ServiceSecurityContext(recipientAuthorizationContext, recipientTokenPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance);
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (1)
237
this.recipientOutOfBandTokenResolverList =
EmptyReadOnlyCollection
<SecurityTokenResolver>.Instance;
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
177
protectionTokenPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
195
security.ServiceSecurityContext = new ServiceSecurityContext(protectionAuthContext, protectionTokenPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance);
System\ServiceModel\Security\SecurityMessageProperty.cs (3)
260
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
265
return this.initiatorToken.SecurityTokenPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
269
return this.protectionToken.SecurityTokenPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\SecurityProtocol.cs (4)
611
supportingTokens.Add(new SupportingTokenSpecification(supportingToken,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
670
return primaryResolvers ??
EmptyReadOnlyCollection
<SecurityTokenResolver>.Instance;
916
this.supportingTokens.Add(new SupportingTokenSpecification(SecurityTokenProvider.SecurityTokenAsyncResult.End(result),
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
920
this.supportingTokens.Add(new SupportingTokenSpecification(spec.TokenProvider.EndGetToken(result),
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
699
CreateSecureConversationPolicies(securityProperty, currentTokenPolicies, keyExpirationTime) :
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
723
authorizationPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
776
supportingTokenProperty.OutgoingSupportingTokens.Add(new SupportingTokenSpecification(currentSessionToken,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, this.IssuedSecurityTokenParameters));
System\ServiceModel\Security\SimpleSecurityTokenProvider.cs (1)
111
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\SpnegoTokenAuthenticator.cs (1)
132
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
364
GenericXmlSecurityToken serviceToken = negotiationRstr.GetIssuedToken(tokenResolver,
EmptyReadOnlyCollection
<SecurityTokenAuthenticator>.Instance,
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (1)
183
this.recipientOutOfBandTokenResolverList =
EmptyReadOnlyCollection
<SecurityTokenResolver>.Instance;
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (2)
219
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
248
authorizationPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
181
authzPolicies =
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (3)
918
SupportingTokenSpecification rsaSpec = new SupportingTokenSpecification(negotiationState.RsaSecurityToken,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, rsaParameters);
948
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
998
serviceToken = rstr.GetIssuedToken(null,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance, negotiationState.Rsa);
System\ServiceModel\Security\Tokens\NonValidatingSecurityTokenAuthenticator.cs (1)
27
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
275
this.authorizationPolicies = authorizationPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\Tokens\SspiSecurityToken.cs (1)
108
return
EmptyReadOnlyCollection
<SecurityKey>.Instance;
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
254
securityHeader.ConfigureOutOfBandTokenResolver(MergeOutOfBandResolvers(supportingAuthenticators,
EmptyReadOnlyCollection
<SecurityTokenResolver>.Instance));
System\ServiceModel\ServiceAuthorizationManager.cs (3)
44
new ServiceSecurityContext(authorizationPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance);
59
return
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
65
return externalPolicies ??
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance;
System\ServiceModel\ServiceSecurityContext.cs (2)
39
: this(authorizationContext,
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance)
63
anonymous = new ServiceSecurityContext(
EmptyReadOnlyCollection
<IAuthorizationPolicy>.Instance);