60 references to BasicHttpSecurityMode
System.ServiceModel (60)
System\ServiceModel\BasicHttpBinding.cs (4)
19
public BasicHttpBinding() : this(
BasicHttpSecurityMode
.None) { }
27
public BasicHttpBinding(
BasicHttpSecurityMode
securityMode)
143
if ((this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
144
this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
System\ServiceModel\BasicHttpContextBinding.cs (1)
26
public BasicHttpContextBinding(
BasicHttpSecurityMode
securityMode)
System\ServiceModel\BasicHttpsBinding.cs (2)
79
if ((this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
80
this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
System\ServiceModel\BasicHttpSecurity.cs (10)
13
internal const
BasicHttpSecurityMode
DefaultMode =
BasicHttpSecurityMode
.None;
14
BasicHttpSecurityMode
mode;
23
BasicHttpSecurity(
BasicHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, BasicHttpMessageSecurity messageSecurity)
31
public
BasicHttpSecurityMode
Mode
64
if (this.mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
96
if (this.mode ==
BasicHttpSecurityMode
.Message
97
|| this.mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
99
return this.messageSecurity.CreateMessageSecurity(this.Mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential);
124
BasicHttpSecurityMode
basicHttpSecurityMode = BasicHttpSecurityModeHelper.ToSecurityMode(mode);
System\ServiceModel\BasicHttpSecurityMode.cs (13)
19
internal static bool IsDefined(
BasicHttpSecurityMode
value)
21
return (value ==
BasicHttpSecurityMode
.None ||
22
value ==
BasicHttpSecurityMode
.Transport ||
23
value ==
BasicHttpSecurityMode
.Message ||
24
value ==
BasicHttpSecurityMode
.TransportWithMessageCredential ||
25
value ==
BasicHttpSecurityMode
.TransportCredentialOnly);
28
internal static
BasicHttpSecurityMode
ToSecurityMode(UnifiedSecurityMode value)
33
return
BasicHttpSecurityMode
.None;
35
return
BasicHttpSecurityMode
.Transport;
37
return
BasicHttpSecurityMode
.Message;
39
return
BasicHttpSecurityMode
.TransportWithMessageCredential;
41
return
BasicHttpSecurityMode
.TransportCredentialOnly;
43
return (
BasicHttpSecurityMode
)value;
System\ServiceModel\BasicHttpsSecurity.cs (1)
29
BasicHttpSecurityMode
basicHttpSecurityMode = BasicHttpsSecurityModeHelper.ToBasicHttpSecurityMode(mode);
System\ServiceModel\BasicHttpsSecurityMode.cs (8)
37
internal static BasicHttpsSecurityMode ToBasicHttpsSecurityMode(
BasicHttpSecurityMode
mode)
39
Fx.Assert(mode ==
BasicHttpSecurityMode
.Transport || mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
40
BasicHttpsSecurityMode basicHttpsSecurityMode = (mode ==
BasicHttpSecurityMode
.Transport) ? BasicHttpsSecurityMode.Transport : BasicHttpsSecurityMode.TransportWithMessageCredential;
45
internal static
BasicHttpSecurityMode
ToBasicHttpSecurityMode(BasicHttpsSecurityMode mode)
52
BasicHttpSecurityMode
basicHttpSecurityMode = (mode == BasicHttpsSecurityMode.Transport) ?
BasicHttpSecurityMode
.Transport :
BasicHttpSecurityMode
.TransportWithMessageCredential;
System\ServiceModel\Configuration\BasicHttpSecurityElement.cs (2)
20
public
BasicHttpSecurityMode
Mode
22
get { return (
BasicHttpSecurityMode
)base[ConfigurationStrings.Mode]; }
System\ServiceModel\Configuration\Properties.cs (2)
465
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.
BasicHttpSecurityMode
), System.ServiceModel.
BasicHttpSecurityMode
.None, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.BasicHttpSecurityModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\HttpBindingBase.cs (10)
310
if (basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport || basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
315
else if (basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly)
377
BasicHttpSecurityMode
mode = security.Mode;
378
if (mode ==
BasicHttpSecurityMode
.None)
382
else if (mode ==
BasicHttpSecurityMode
.Message)
388
if (mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
399
(mode ==
BasicHttpSecurityMode
.Transport) || (mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) || (mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential),
System\ServiceModel\NetHttpBinding.cs (5)
25
: this(
BasicHttpSecurityMode
.None)
29
public NetHttpBinding(
BasicHttpSecurityMode
securityMode)
36
public NetHttpBinding(
BasicHttpSecurityMode
securityMode, bool reliableSessionEnabled)
117
if ((this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
118
this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
System\ServiceModel\NetHttpsBinding.cs (2)
110
if ((this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
111
this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&