23 references to UserNameAuthentication
System.ServiceModel (23)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (2)
220
if (specificBehavior.
UserNameAuthentication
!= null)
222
instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.
UserNameAuthentication
.UserNamePasswordValidationMode.ToString()));
System\ServiceModel\Channels\HttpChannelListener.cs (8)
423
this.extractGroupsForWindowsAccounts = serviceCredentials.
UserNameAuthentication
.IncludeWindowsGroups;
428
serviceCredentials.
UserNameAuthentication
.IncludeWindowsGroups != serviceCredentials.WindowsAuthentication.IncludeWindowsGroups)
433
serviceCredentials.
UserNameAuthentication
.IncludeWindowsGroups,
441
if (serviceCredentials.
UserNameAuthentication
.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Custom)
443
this.userNameTokenAuthenticator = new CustomUserNameSecurityTokenAuthenticator(serviceCredentials.
UserNameAuthentication
.GetUserNamePasswordValidator());
447
if (serviceCredentials.
UserNameAuthentication
.CacheLogonTokens)
450
serviceCredentials.
UserNameAuthentication
.MaxCachedLogonTokens, serviceCredentials.
UserNameAuthentication
.CachedLogonTokenLifetime);
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (1)
146
this.UserNameAuthentication.ApplyConfiguration(behavior.
UserNameAuthentication
);
System\ServiceModel\Description\ServiceCredentials.cs (1)
324
this.
UserNameAuthentication
.MakeReadOnly();
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
977
if (credentials.
UserNameAuthentication
.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Windows)
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (10)
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,