1 write to factory
System.ServiceModel (1)
System\ServiceModel\Security\SecurityProtocol.cs (1)
45
this.
factory
= factory;
32 references to factory
System.ServiceModel (32)
System\ServiceModel\Security\SecurityProtocol.cs (32)
58
get { return this.
factory
; }
186
requirement.SecurityBindingElement = this.
factory
.SecurityBindingElement;
187
requirement.SecurityAlgorithmSuite = this.
factory
.OutgoingAlgorithmSuite;
188
requirement.MessageSecurityVersion = this.
factory
.MessageSecurityVersion.SecurityTokenVersion;
189
if (this.
factory
.PrivacyNoticeUri != null)
191
requirement.Properties[ServiceModelSecurityTokenRequirement.PrivacyNoticeUriProperty] = this.
factory
.PrivacyNoticeUri;
198
requirement.Properties[ServiceModelSecurityTokenRequirement.PrivacyNoticeVersionProperty] = this.
factory
.PrivacyNoticeVersion;
224
System.IdentityModel.Selectors.SecurityTokenProvider provider = this.
factory
.SecurityTokenManager.CreateSecurityTokenProvider(requirement);
249
System.IdentityModel.Selectors.SecurityTokenProvider provider = this.
factory
.SecurityTokenManager.CreateSecurityTokenProvider(requirement);
274
System.IdentityModel.Selectors.SecurityTokenProvider provider = this.
factory
.SecurityTokenManager.CreateSecurityTokenProvider(requirement);
299
System.IdentityModel.Selectors.SecurityTokenProvider provider = this.
factory
.SecurityTokenManager.CreateSecurityTokenProvider(requirement);
326
this.
factory
.ExpectSupportingTokens = true;
347
this.
factory
.ExpectKeyDerivation = true;
375
if (this.
factory
.ActAsInitiator)
380
AddSupportingTokenProviders(this.
factory
.SecurityBindingElement.EndpointSupportingTokenParameters, false, (IList<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification);
381
AddSupportingTokenProviders(this.
factory
.SecurityBindingElement.OptionalEndpointSupportingTokenParameters, true, (IList<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification);
382
foreach (string action in this.
factory
.SecurityBindingElement.OperationSupportingTokenParameters.Keys)
385
AddSupportingTokenProviders(this.
factory
.SecurityBindingElement.OperationSupportingTokenParameters[action], false, providerSpecList);
388
foreach (string action in this.
factory
.SecurityBindingElement.OptionalOperationSupportingTokenParameters.Keys)
401
this.AddSupportingTokenProviders(this.
factory
.SecurityBindingElement.OptionalOperationSupportingTokenParameters[action], true, providerSpecList);
412
this.
factory
.ExpectSupportingTokens = true;
420
this.
factory
.ExpectKeyDerivation = true;
447
if (this.
factory
.ActAsInitiator)
466
if (this.
factory
.ActAsInitiator)
809
if (AuditLevel.Success == (this.
factory
.MessageAuthenticationAuditLevel & AuditLevel.Success))
811
SecurityAuditHelper.WriteMessageAuthenticationSuccessEvent(this.
factory
.AuditLogLocation,
812
this.
factory
.SuppressAuditFailure, verifiedMessage, verifiedMessage.Headers.To, verifiedMessage.Headers.Action,
820
if (PerformanceCounters.PerformanceCountersEnabled && null != this.
factory
.ListenUri) //service side
825
PerformanceCounters.AuthenticationFailed(message, this.
factory
.ListenUri);
829
if (AuditLevel.Failure == (this.
factory
.MessageAuthenticationAuditLevel & AuditLevel.Failure))
840
SecurityAuditHelper.WriteMessageAuthenticationFailureEvent(this.
factory
.AuditLogLocation,
841
this.
factory
.SuppressAuditFailure, message, message.Headers.To, message.Headers.Action, primaryIdentity, exception);