Showing the changes to Source/Libraries/GSF.ServiceProcess (1 of 9 files). Show all
Unified · Split
| @@ -2289,8 +2289,7 @@ namespace GSF.ServiceProcess · 2288 unmodified lines | |||
| 2289 | Thread.CurrentPrincipal = client.ClientUser; | 2289 | Thread.CurrentPrincipal = client.ClientUser; |
| 2290 | 2290 | ||
| 2291 | // Retrieve previously initialized security provider of the remote client's user. | 2291 | // Retrieve previously initialized security provider of the remote client's user. |
| 2292 | if ((object)SecurityProviderCache.CurrentProvider == null) | 2292 | SecurityProviderCache.ValidateCurrentProvider(); |
| 2293 | SecurityProviderCache.CurrentProvider = SecurityProviderUtility.CreateProvider(string.Empty); | ||
| 2294 | 2293 | ||
| 2295 | // Initialize security provider for the remote client's user from specified credentials. | 2294 | // Initialize security provider for the remote client's user from specified credentials. |
| 2296 | if ((!Thread.CurrentPrincipal.Identity.IsAuthenticated || (object)client.ClientUser == null) && !string.IsNullOrEmpty(client.ClientUserCredentials)) | 2295 | if ((!Thread.CurrentPrincipal.Identity.IsAuthenticated || (object)client.ClientUser == null) && !string.IsNullOrEmpty(client.ClientUserCredentials)) |