70 references to AuthenticationMode
System.ServiceModel (70)
System\ServiceModel\Configuration\AuthenticationModeHelper.cs (19)
10
public static bool IsDefined(
AuthenticationMode
value)
12
return value ==
AuthenticationMode
.AnonymousForCertificate
13
|| value ==
AuthenticationMode
.AnonymousForSslNegotiated
14
|| value ==
AuthenticationMode
.CertificateOverTransport
15
|| value ==
AuthenticationMode
.IssuedToken
16
|| value ==
AuthenticationMode
.IssuedTokenForCertificate
17
|| value ==
AuthenticationMode
.IssuedTokenForSslNegotiated
18
|| value ==
AuthenticationMode
.IssuedTokenOverTransport
19
|| value ==
AuthenticationMode
.Kerberos
20
|| value ==
AuthenticationMode
.KerberosOverTransport
21
|| value ==
AuthenticationMode
.MutualCertificate
22
|| value ==
AuthenticationMode
.MutualCertificateDuplex
23
|| value ==
AuthenticationMode
.MutualSslNegotiated
24
|| value ==
AuthenticationMode
.SecureConversation
25
|| value ==
AuthenticationMode
.SspiNegotiated
26
|| value ==
AuthenticationMode
.UserNameForCertificate
27
|| value ==
AuthenticationMode
.UserNameForSslNegotiated
28
|| value ==
AuthenticationMode
.UserNameOverTransport
29
|| value ==
AuthenticationMode
.SspiNegotiatedOverTransport;
System\ServiceModel\Configuration\Properties.cs (2)
2993
properties.Add(new ConfigurationProperty("authenticationMode", typeof(System.ServiceModel.Configuration.
AuthenticationMode
), System.ServiceModel.Configuration.
AuthenticationMode
.SspiNegotiated, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Configuration.AuthenticationModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\SecurityElement.cs (4)
48
if (this.AuthenticationMode ==
AuthenticationMode
.SecureConversation)
52
if (this.SecureConversationBootstrap.AuthenticationMode ==
AuthenticationMode
.SecureConversation)
67
protected override void AddBindingTemplates(Dictionary<
AuthenticationMode
, SecurityBindingElement> bindingTemplates)
70
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.SecureConversation);
System\ServiceModel\Configuration\SecurityElementBase.cs (45)
21
internal const
AuthenticationMode
defaultAuthenticationMode =
AuthenticationMode
.SspiNegotiated;
60
public
AuthenticationMode
AuthenticationMode
62
get { return (
AuthenticationMode
)base[ConfigurationStrings.AuthenticationMode]; }
304
case
AuthenticationMode
.AnonymousForCertificate:
307
case
AuthenticationMode
.AnonymousForSslNegotiated:
310
case
AuthenticationMode
.CertificateOverTransport:
313
case
AuthenticationMode
.IssuedToken:
316
case
AuthenticationMode
.IssuedTokenForCertificate:
319
case
AuthenticationMode
.IssuedTokenForSslNegotiated:
322
case
AuthenticationMode
.IssuedTokenOverTransport:
325
case
AuthenticationMode
.Kerberos:
328
case
AuthenticationMode
.KerberosOverTransport:
331
case
AuthenticationMode
.MutualCertificateDuplex:
334
case
AuthenticationMode
.MutualCertificate:
337
case
AuthenticationMode
.MutualSslNegotiated:
340
case
AuthenticationMode
.SspiNegotiated:
343
case
AuthenticationMode
.UserNameForCertificate:
346
case
AuthenticationMode
.UserNameForSslNegotiated:
349
case
AuthenticationMode
.UserNameOverTransport:
352
case
AuthenticationMode
.SspiNegotiatedOverTransport:
356
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("AuthenticationMode", (int)this.AuthenticationMode, typeof(
AuthenticationMode
)));
364
protected void AddBindingTemplate(Dictionary<
AuthenticationMode
, SecurityBindingElement> bindingTemplates,
AuthenticationMode
mode)
549
protected virtual void AddBindingTemplates(Dictionary<
AuthenticationMode
, SecurityBindingElement> bindingTemplates)
551
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.AnonymousForCertificate);
552
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.AnonymousForSslNegotiated);
553
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.CertificateOverTransport);
556
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.IssuedToken);
558
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.IssuedTokenForCertificate);
559
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.IssuedTokenForSslNegotiated);
560
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.IssuedTokenOverTransport);
561
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.Kerberos);
562
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.KerberosOverTransport);
563
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.MutualCertificate);
564
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.MutualCertificateDuplex);
565
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.MutualSslNegotiated);
566
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.SspiNegotiated);
567
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.UserNameForCertificate);
568
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.UserNameForSslNegotiated);
569
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.UserNameOverTransport);
570
AddBindingTemplate(bindingTemplates,
AuthenticationMode
.SspiNegotiatedOverTransport);
583
Dictionary<
AuthenticationMode
, SecurityBindingElement> bindingTemplates = new Dictionary<
AuthenticationMode
, SecurityBindingElement>();
587
foreach (
AuthenticationMode
mode in bindingTemplates.Keys)