1 write to parent
System.ServiceModel (1)
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (1)
30
this.
parent
= parent;
48 references to parent
System.ServiceModel (48)
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (48)
35
get { return
parent
; }
48
if (
parent
.IssuedTokenAuthentication != null)
49
samlSerializer =
parent
.IssuedTokenAuthentication.SamlSerializer;
53
return new WSSecurityTokenSerializer(wsVersion.SecurityVersion, wsVersion.TrustVersion, wsVersion.SecureConversationVersion, wsVersion.EmitBspRequiredAttributes, samlSerializer,
parent
.SecureConversationAuthentication.SecurityStateEncoder,
parent
.SecureConversationAuthentication.SecurityContextClaimTypes);
108
authenticator.SecurityStateEncoder =
parent
.SecureConversationAuthentication.SecurityStateEncoder;
109
authenticator.KnownTypes =
parent
.SecureConversationAuthentication.SecurityContextClaimTypes;
142
authenticator.AllowUnauthenticatedCallers =
parent
.WindowsAuthentication.AllowAnonymousLogons;
143
authenticator.ExtractGroupsForWindowsAccounts =
parent
.WindowsAuthentication.IncludeWindowsGroups;
152
authenticator.SecurityStateEncoder =
parent
.SecureConversationAuthentication.SecurityStateEncoder;
153
authenticator.KnownTypes =
parent
.SecureConversationAuthentication.SecurityContextClaimTypes;
221
authenticator.SecurityStateEncoder =
parent
.SecureConversationAuthentication.SecurityStateEncoder;
222
authenticator.KnownTypes =
parent
.SecureConversationAuthentication.SecurityContextClaimTypes;
243
X509ClientCertificateAuthentication authentication =
parent
.ClientCertificate.Authentication;
253
if (
parent
.ServiceCertificate.Certificate != null)
255
outOfBandTokens.Add(new X509SecurityToken(
parent
.ServiceCertificate.Certificate));
258
if ((
parent
.IssuedTokenAuthentication.KnownCertificates != null) && (
parent
.IssuedTokenAuthentication.KnownCertificates.Count > 0))
260
for (int i = 0; i <
parent
.IssuedTokenAuthentication.KnownCertificates.Count; ++i)
262
outOfBandTokens.Add(new X509SecurityToken(
parent
.IssuedTokenAuthentication.KnownCertificates[i]));
266
X509CertificateValidator validator =
parent
.IssuedTokenAuthentication.GetCertificateValidator();
269
if (
parent
.IssuedTokenAuthentication.AllowUntrustedRsaIssuers)
288
ssta.AudienceUriMode =
parent
.IssuedTokenAuthentication.AudienceUriMode;
290
if (
parent
.IssuedTokenAuthentication.AllowedAudienceUris != null)
292
for (int i = 0; i <
parent
.IssuedTokenAuthentication.AllowedAudienceUris.Count; i++)
293
allowedAudienceUris.Add(
parent
.IssuedTokenAuthentication.AllowedAudienceUris[i]);
306
if (
parent
.ServiceCertificate.Certificate == null)
310
SecurityUtils.EnsureCertificateCanDoKeyExchange(
parent
.ServiceCertificate.Certificate);
311
return new ServiceX509SecurityTokenProvider(
parent
.ServiceCertificate.Certificate);
350
new KerberosSecurityTokenAuthenticator(
parent
.WindowsAuthentication.IncludeWindowsGroups));
354
if (
parent
.UserNameAuthentication.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Windows)
356
if (
parent
.UserNameAuthentication.CacheLogonTokens)
358
result = new WindowsUserNameCachingSecurityTokenAuthenticator(
parent
.UserNameAuthentication.IncludeWindowsGroups,
359
parent
.UserNameAuthentication.MaxCachedLogonTokens,
parent
.UserNameAuthentication.CachedLogonTokenLifetime);
363
result = new WindowsUserNameSecurityTokenAuthenticator(
parent
.UserNameAuthentication.IncludeWindowsGroups);
368
result = new CustomUserNameSecurityTokenAuthenticator(
parent
.UserNameAuthentication.GetUserNamePasswordValidator());
423
result = new SspiSecurityTokenProvider(null,
parent
.UserNameAuthentication.IncludeWindowsGroups, false);
429
parent
.WindowsAuthentication.IncludeWindowsGroups !=
parent
.UserNameAuthentication.IncludeWindowsGroups)
434
parent
.UserNameAuthentication.IncludeWindowsGroups,
435
parent
.WindowsAuthentication.IncludeWindowsGroups)));
438
result = new SspiSecurityTokenProvider(null,
parent
.WindowsAuthentication.IncludeWindowsGroups,
parent
.WindowsAuthentication.AllowAnonymousLogons);
453
if (
parent
.ClientCertificate.Certificate == null)
458
result = new X509SecurityTokenProvider(
parent
.ClientCertificate.Certificate);
507
if (
parent
.ServiceCertificate.Certificate != null)
509
return EndpointIdentity.CreateX509CertificateIdentity(
parent
.ServiceCertificate.Certificate);