2 writes to security
System.ServiceModel (2)
System\ServiceModel\WSHttpBinding.cs (2)
54
this.
security
= security == null ? new WSHttpSecurity() : security;
77
this.
security
= value;
11 references to security
System.ServiceModel (11)
System\ServiceModel\WSHttpBinding.cs (11)
48
security
.Mode = securityMode;
70
get { return this.
security
; }
100
if ((
security
.Mode == SecurityMode.Transport) &&
101
security
.Transport.ClientCredentialType == HttpClientCredentialType.InheritedFromHost)
103
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpClientCredentialTypeInvalid,
security
.Transport.ClientCredentialType)));
113
if (this.
security
.Mode == SecurityMode.Transport)
173
if (
security
.Mode == SecurityMode.None ||
security
.Mode == SecurityMode.Message)
175
this.HttpTransport.ExtendedProtectionPolicy =
security
.Transport.ExtendedProtectionPolicy;
180
security
.ApplyTransportSecurity(this.HttpsTransport);
221
return
security
.CreateMessageSecurity(this.ReliableSession.Enabled, WSMessageSecurityVersion);