ok compilazione da auth token!

This commit is contained in:
Samuele E. Locatelli
2018-01-18 10:16:54 +01:00
parent 84e840ae48
commit 793ee8b4f6
17 changed files with 106 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Stile", "IDE1005:La chiamata del delegato può essere semplificata.", Justification = "<In sospeso>", Scope = "member", Target = "~M:mod_login.AdLogin")]
+9
View File
@@ -176,6 +176,7 @@
<Content Include="Images\LogoHomeDx.png" />
<Content Include="Images\logoSteamware.png" />
<Content Include="Images\logo_sw.png" />
<Content Include="jumper.aspx" />
<Content Include="Print.aspx" />
<Content Include="Projects.aspx" />
<Content Include="Scripts\bootstrap-toggle.js" />
@@ -328,6 +329,14 @@
<Compile Include="Clients.aspx.designer.cs">
<DependentUpon>Clients.aspx</DependentUpon>
</Compile>
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="jumper.aspx.cs">
<DependentUpon>jumper.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="jumper.aspx.designer.cs">
<DependentUpon>jumper.aspx</DependentUpon>
</Compile>
<Compile Include="Print.aspx.cs">
<DependentUpon>Print.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+3 -1
View File
@@ -48,7 +48,7 @@
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx#ErrorCodes.aspx#Print.aspx#UserAdmin.aspx" />
<!--gestione auth dispositivi-->
<add key="AuthCookieName" value="AuthDeviceScheMe" />
<add key="AuthCookieName" value="AuthDeviceMedAP" />
<add key="defaultDomain" value="MedAP" />
<add key="enablePlain" value="true" />
<add key="urlGestUtenti" value="UserAdmin" />
@@ -69,6 +69,7 @@
<add key="urlReport" value="http://sql-steam/ReportServer?/Steamware/SEL+Fatture/Fatture-Multi&amp;rs:Command=Render&amp;rc:Parameters=Collapsed&amp;rc:Toolbar=true" />
<add key="BilligConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="PermessiConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
</appSettings>
@@ -76,6 +77,7 @@
<add name="SteamWare.Properties.Settings.MedAPConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;User ID=sa;Password=keyhammer16;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="MAPEntities" connectionString="metadata=res://*/APModel.csdl|res://*/APModel.ssdl|res://*/APModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL2012DEV;initial catalog=MedAP;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<runtime>
+2 -2
View File
@@ -24,9 +24,9 @@
</button>
</div>
</div>
<div class="navbar-collapse collapse">
<div class="navbar-collapse collapse" runat="server" id="navBarCollapse" Visible="false">
<ul id="itemPlaceholderContainer" runat="server" class="nav navbar-nav navbar-right">
<asp:Repeater ID="menu" runat="server" DataSourceID="XmlMenu" Visible="false">
<asp:Repeater ID="menu" runat="server" DataSourceID="XmlMenu">
<ItemTemplate>
<li class="dropdown">
<a href="." class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
+3 -2
View File
@@ -42,7 +42,8 @@ namespace MedAP.WebUserControls
// controllo se c'è utente in sessione..
if ((userOk))
{
XmlMenu.Visible = true;
updateTreeMenu();
navBarCollapse.Visible = true;
// ora controllo pagina...
if (!pageOk)
{
@@ -52,7 +53,7 @@ namespace MedAP.WebUserControls
}
else
{
Response.Redirect("Accettazione");
Response.Redirect("DocArchive");
}
}
}
+9
View File
@@ -57,6 +57,15 @@ namespace MedAP.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbnUpdate;
/// <summary>
/// Controllo navBarCollapse.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl navBarCollapse;
/// <summary>
/// Controllo itemPlaceholderContainer.
/// </summary>
+3 -1
View File
@@ -48,7 +48,7 @@
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx#ErrorCodes.aspx#Print.aspx#UserAdmin.aspx" />
<!--gestione auth dispositivi-->
<add key="AuthCookieName" value="AuthDeviceScheMe" />
<add key="AuthCookieName" value="AuthDeviceMedAP" />
<add key="defaultDomain" value="MedAP" />
<add key="enablePlain" value="true" />
<add key="urlGestUtenti" value="UserAdmin" />
@@ -69,6 +69,7 @@
<add key="urlReport" value="http://sql-steam/ReportServer?/Steamware/SEL+Fatture/Fatture-Multi&amp;rs:Command=Render&amp;rc:Parameters=Collapsed&amp;rc:Toolbar=true" />
<add key="BilligConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="PermessiConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
</appSettings>
@@ -76,6 +77,7 @@
<add name="SteamWare.Properties.Settings.MedAPConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.SEL_fatture_SteamWareConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;User ID=sa;Password=keyhammer16;Encrypt=False;TrustServerCertificate=True" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=MedAP;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="MAPEntities" connectionString="metadata=res://*/APModel.csdl|res://*/APModel.ssdl|res://*/APModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=SQL2012DEV;initial catalog=MedAP;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<runtime>
+19
View File
@@ -0,0 +1,19 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jumper.aspx.cs" Inherits="MedAP.jumper" %>
<%@ Register Src="~/WebUserControl/mod_enrollByJumperAuthKey.ascx" TagPrefix="uc2" TagName="mod_enrollByJumperAuthKey" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<uc2:mod_enrollByJumperAuthKey runat="server" ID="mod_enrollByJumperAuthKey" />
</div>
</form>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedAP
{
public partial class jumper : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MedAP {
public partial class jumper {
/// <summary>
/// Controllo form1.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// Controllo mod_enrollByJumperAuthKey.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MedAP.WebUserControls.mod_enrollByJumperAuthKey mod_enrollByJumperAuthKey;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.