Commit 82130b9fd2c789a0137c15463e6c338530009a27
1 parent
394fa3a7
v1.7.3
- webapp set user account megadásnál képernyő üzenetek szépebbítése
Showing
2 changed files
with
6 additions
and
5 deletions
Show diff stats
Vrh.Log4Pro.MaintenanceConsole/Manager - WebApplicationManager.cs
@@ -454,6 +454,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | @@ -454,6 +454,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | ||
454 | foreach (var p in sr.SelectedParameterList) | 454 | foreach (var p in sr.SelectedParameterList) |
455 | { | 455 | { |
456 | var wa = p.Parameters as WebApplication; | 456 | var wa = p.Parameters as WebApplication; |
457 | + ColorConsole.WriteLine($"Set pool identity info for webapp {wa.Xml_AppName}. Pool:{wa.Xml_PoolName}, site:{wa.Xml_SiteName}", ConsoleColor.DarkYellow); | ||
457 | GetPoolIdentityInfo(wa, out string username, out string password, out ProcessModelIdentityType poolidentitytype); | 458 | GetPoolIdentityInfo(wa, out string username, out string password, out ProcessModelIdentityType poolidentitytype); |
458 | if (username == "EX" || password == "EX") { return o; } | 459 | if (username == "EX" || password == "EX") { return o; } |
459 | string olduserinfo = WebApplicationManagerCore.GetCurrentPoolIdentityInfo(wa); | 460 | string olduserinfo = WebApplicationManagerCore.GetCurrentPoolIdentityInfo(wa); |
@@ -467,7 +468,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | @@ -467,7 +468,7 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | ||
467 | { | 468 | { |
468 | if (Menu.IsCommandMode()) | 469 | if (Menu.IsCommandMode()) |
469 | { | 470 | { |
470 | - username = wa.Xml_PoolName; | 471 | + username = wa.Xml_PoolUsername; |
471 | password = wa.Xml_PoolPassword; | 472 | password = wa.Xml_PoolPassword; |
472 | poolidentitytype = wa.Xml_PoolIdentitytype; | 473 | poolidentitytype = wa.Xml_PoolIdentitytype; |
473 | } | 474 | } |
@@ -475,8 +476,8 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | @@ -475,8 +476,8 @@ namespace Vrh.Log4Pro.MaintenanceConsole.WebApplicationManagerNS | ||
475 | { | 476 | { |
476 | var defaultinxml = WebApplicationManagerCore.GetDefaultPoolIdentityInfo(wa); | 477 | var defaultinxml = WebApplicationManagerCore.GetDefaultPoolIdentityInfo(wa); |
477 | string olduserinfo = WebApplicationManagerCore.GetCurrentPoolIdentityInfo(wa); | 478 | string olduserinfo = WebApplicationManagerCore.GetCurrentPoolIdentityInfo(wa); |
478 | - ColorConsole.WriteLine($"Current user info: {olduserinfo}"); | ||
479 | - var un = $"Empty from XML={defaultinxml}."; | 479 | + ColorConsole.WriteLine($"Current identity info: {olduserinfo}"); |
480 | + var un = $"Empty={defaultinxml}(from XML)."; | ||
480 | ColorConsole.WriteLine($"Enter username.[Enter]=finish input.{un}EX=exit."); | 481 | ColorConsole.WriteLine($"Enter username.[Enter]=finish input.{un}EX=exit."); |
481 | ColorConsole.WriteLine("Special usernames are:"); | 482 | ColorConsole.WriteLine("Special usernames are:"); |
482 | ColorConsole.WriteLine($" (API) {nameof(ProcessModelIdentityType.ApplicationPoolIdentity)}"); | 483 | ColorConsole.WriteLine($" (API) {nameof(ProcessModelIdentityType.ApplicationPoolIdentity)}"); |
Vrh.Log4Pro.MaintenanceConsole/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | ||
32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
34 | // [assembly: AssemblyVersion("1.0.*")] | 34 | // [assembly: AssemblyVersion("1.0.*")] |
35 | -[assembly: AssemblyVersion("1.7.2.0")] | ||
36 | -[assembly: AssemblyFileVersion("1.7.2.0")] | 35 | +[assembly: AssemblyVersion("1.7.3.0")] |
36 | +[assembly: AssemblyFileVersion("1.7.3.0")] |