From bc2492ec7d9266f7ea9d31a97c35e565d835036a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 28 Nov 2022 12:11:27 +0100 Subject: [PATCH 1/2] Fix startup senza AUTH richiesta --- MP.INVE/MP.INVE.csproj | 2 +- MP.INVE/Program.cs | 11 ----------- MP.INVE/Resources/ChangeLog.html | 2 +- MP.INVE/Resources/VersNum.txt | 2 +- MP.INVE/Resources/manifest.xml | 2 +- 5 files changed, 4 insertions(+), 15 deletions(-) diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj index d4b10eff..36fd552d 100644 --- a/MP.INVE/MP.INVE.csproj +++ b/MP.INVE/MP.INVE.csproj @@ -5,7 +5,7 @@ enable enable MP.INVE - 6.16.2211.2810 + 6.16.2211.2812 diff --git a/MP.INVE/Program.cs b/MP.INVE/Program.cs index 97fad985..76d25e2a 100644 --- a/MP.INVE/Program.cs +++ b/MP.INVE/Program.cs @@ -26,14 +26,6 @@ string redisSrvAddr = connStringRedis.Substring(0, connStringRedis.IndexOf(":")) // avvio oggetto shared x redis... var redisMultiplexer = ConnectionMultiplexer.Connect(connStringRedis); -builder.Services.AddAuthentication(NegotiateDefaults.AuthenticationScheme) - .AddNegotiate(); - -builder.Services.AddAuthorization(options => -{ - // By default, all incoming requests will be authorized according to the default policy. - options.FallbackPolicy = options.DefaultPolicy; -}); builder.Services.AddRazorPages(); builder.Services.AddServerSideBlazor(); @@ -65,9 +57,6 @@ app.UseStaticFiles(); app.UseRouting(); -app.UseAuthentication(); -//app.UseAuthorization(); - app.MapBlazorHub(); app.MapFallbackToPage("/_Host"); diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html index 2881d95c..99ac9b8c 100644 --- a/MP.INVE/Resources/ChangeLog.html +++ b/MP.INVE/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOINVE -

Versione: 6.16.2211.2810

+

Versione: 6.16.2211.2812


Note di rilascio: