55 references to PeerAuthenticationMode
System.ServiceModel (55)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
719
Fx.AssertAndThrow(this.securityManager.AuthenticationMode ==
PeerAuthenticationMode
.Password, "Invalid AuthenticationMode!");
System\ServiceModel\Channels\PeerSecurityManager.cs (48)
24
PeerAuthenticationMode
authenticationMode;
48
PeerSecurityManager(
PeerAuthenticationMode
authMode, bool signing)
55
public
PeerAuthenticationMode
AuthenticationMode
115
static PeerSecurityCredentialsManager GetCredentialsManager(
PeerAuthenticationMode
mode, bool signing, BindingContext context)
117
if (mode ==
PeerAuthenticationMode
.None && !signing)
137
static void Convert(PeerSecuritySettings security, out
PeerAuthenticationMode
authMode, out bool signing)
139
authMode =
PeerAuthenticationMode
.None;
146
authMode =
PeerAuthenticationMode
.Password;
149
authMode =
PeerAuthenticationMode
.MutualCertificate;
161
PeerAuthenticationMode
authMode =
PeerAuthenticationMode
.None;
168
static public PeerSecurityManager Create(
PeerAuthenticationMode
authenticationMode, bool signMessages, BindingContext context, XmlDictionaryReaderQuotas readerQuotas)
170
if (authenticationMode ==
PeerAuthenticationMode
.None && !signMessages)
174
if (authenticationMode ==
PeerAuthenticationMode
.Password)
204
static void ValidateCredentialSettings(
PeerAuthenticationMode
authenticationMode, bool signMessages, PeerCredential credential)
207
if (authenticationMode ==
PeerAuthenticationMode
.None && !signMessages)
211
case
PeerAuthenticationMode
.Password:
217
case
PeerAuthenticationMode
.MutualCertificate:
255
if (this.AuthenticationMode ==
PeerAuthenticationMode
.None)
262
PeerSecurityManager manager = new PeerSecurityManager(
PeerAuthenticationMode
.None, false);
266
static public PeerSecurityManager Create(
PeerAuthenticationMode
authenticationMode, bool messageAuthentication, PeerSecurityCredentialsManager credman, ChannelProtectionRequirements reqs, XmlDictionaryReaderQuotas readerQuotas)
275
if (authenticationMode !=
PeerAuthenticationMode
.None || messageAuthentication)
295
case
PeerAuthenticationMode
.None:
297
case
PeerAuthenticationMode
.Password:
307
case
PeerAuthenticationMode
.MutualCertificate:
484
else if (this.authenticationMode ==
PeerAuthenticationMode
.None)
507
if (authenticationMode !=
PeerAuthenticationMode
.Password)
528
return (authenticationMode ==
PeerAuthenticationMode
.None);
530
if (authenticationMode ==
PeerAuthenticationMode
.Password)
569
if (authenticationMode !=
PeerAuthenticationMode
.None)
578
if (this.AuthenticationMode !=
PeerAuthenticationMode
.None)
589
if (!(this.authenticationMode ==
PeerAuthenticationMode
.Password))
610
if (this.authenticationMode ==
PeerAuthenticationMode
.Password)
630
if (this.authenticationMode !=
PeerAuthenticationMode
.Password || request == null)
655
PeerAuthenticationMode
mode =
PeerAuthenticationMode
.Password;
659
public PeerSecurityCredentialsManager(SecurityTokenManager manager,
PeerAuthenticationMode
mode, bool messageAuth)
667
public PeerSecurityCredentialsManager(PeerCredential credential,
PeerAuthenticationMode
mode, bool messageAuth)
738
if (mode ==
PeerAuthenticationMode
.Password)
758
if (result == null && mode ==
PeerAuthenticationMode
.Password)
820
if (this.mode ==
PeerAuthenticationMode
.None)
822
if (this.mode ==
PeerAuthenticationMode
.Password)
840
PeerAuthenticationMode
mode;
845
public PeerClientSecurityTokenManager(PeerSecurityManager parent, PeerCredential credential,
PeerAuthenticationMode
mode, bool messageAuth)
853
public PeerClientSecurityTokenManager(PeerSecurityManager parent, SecurityTokenManager manager,
PeerAuthenticationMode
mode, bool messageAuth)
938
if (result == null && mode ==
PeerAuthenticationMode
.Password)
999
if (mode ==
PeerAuthenticationMode
.Password && IsForConnectionValidator(requirement))
1022
if (this.mode ==
PeerAuthenticationMode
.MutualCertificate)
System\ServiceModel\Channels\TransportDefaults.cs (2)
411
internal const
PeerAuthenticationMode
PeerNodeAuthenticationMode =
PeerAuthenticationMode
.Password;
System\ServiceModel\Security\PeerCredential.cs (4)
141
internal bool Equals(PeerCredential that,
PeerAuthenticationMode
mode, bool messageAuthentication)
152
case
PeerAuthenticationMode
.None:
154
case
PeerAuthenticationMode
.Password:
162
case
PeerAuthenticationMode
.MutualCertificate: