23 references to UserNameAuthentication
System.ServiceModel (23)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (2)
220if (specificBehavior.UserNameAuthentication != null) 222instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.UserNameAuthentication.UserNamePasswordValidationMode.ToString()));
System\ServiceModel\Channels\HttpChannelListener.cs (8)
423this.extractGroupsForWindowsAccounts = serviceCredentials.UserNameAuthentication.IncludeWindowsGroups; 428serviceCredentials.UserNameAuthentication.IncludeWindowsGroups != serviceCredentials.WindowsAuthentication.IncludeWindowsGroups) 433serviceCredentials.UserNameAuthentication.IncludeWindowsGroups, 441if (serviceCredentials.UserNameAuthentication.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Custom) 443this.userNameTokenAuthenticator = new CustomUserNameSecurityTokenAuthenticator(serviceCredentials.UserNameAuthentication.GetUserNamePasswordValidator()); 447if (serviceCredentials.UserNameAuthentication.CacheLogonTokens) 450serviceCredentials.UserNameAuthentication.MaxCachedLogonTokens, serviceCredentials.UserNameAuthentication.CachedLogonTokenLifetime);
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (1)
146this.UserNameAuthentication.ApplyConfiguration(behavior.UserNameAuthentication);
System\ServiceModel\Description\ServiceCredentials.cs (1)
324this.UserNameAuthentication.MakeReadOnly();
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
977if (credentials.UserNameAuthentication.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Windows)
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (10)
354if (parent.UserNameAuthentication.UserNamePasswordValidationMode == UserNamePasswordValidationMode.Windows) 356if (parent.UserNameAuthentication.CacheLogonTokens) 358result = new WindowsUserNameCachingSecurityTokenAuthenticator(parent.UserNameAuthentication.IncludeWindowsGroups, 359parent.UserNameAuthentication.MaxCachedLogonTokens, parent.UserNameAuthentication.CachedLogonTokenLifetime); 363result = new WindowsUserNameSecurityTokenAuthenticator(parent.UserNameAuthentication.IncludeWindowsGroups); 368result = new CustomUserNameSecurityTokenAuthenticator(parent.UserNameAuthentication.GetUserNamePasswordValidator()); 423result = new SspiSecurityTokenProvider(null, parent.UserNameAuthentication.IncludeWindowsGroups, false); 429parent.WindowsAuthentication.IncludeWindowsGroups != parent.UserNameAuthentication.IncludeWindowsGroups) 434parent.UserNameAuthentication.IncludeWindowsGroups,