275 lines
17 KiB
Text
275 lines
17 KiB
Text
|
|
<?xml version="1.0"?>
|
||
|
|
<!--
|
||
|
|
Para obtener más información sobre cómo configurar la aplicación de ASP.NET, visite
|
||
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
||
|
|
-->
|
||
|
|
<configuration>
|
||
|
|
<configSections>
|
||
|
|
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data"/>
|
||
|
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||
|
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
|
||
|
|
</configSections>
|
||
|
|
<appSettings>
|
||
|
|
<add key="VersionControl.UploadChunkSize" value="1048576"/>
|
||
|
|
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/>
|
||
|
|
<!-- Servidor de Active Directory -->
|
||
|
|
<add key="ActiveDirectory" value="vsrv-0111/DC=intranet,DC=aya,DC=go,DC=cr"/>
|
||
|
|
<add key="ActiveDirectory2" value="aya-vsrv-0112/DC=intranet,DC=aya,DC=go,DC=cr"/>
|
||
|
|
<!-- Dirección para la pagina de salida -->
|
||
|
|
<add key="PaginaSalida" value="http://localhost:27640/ADSGUI/Inicio.aspx"/>
|
||
|
|
<!-- Configuración para reportes -->
|
||
|
|
<add key="ReportServerURL" value="http://AYA-VSRV-RPTDS/ReportServer"/>
|
||
|
|
<add key="ReportPath" value="/GestariReportes/"/>
|
||
|
|
<!-- Configuración para correos -->
|
||
|
|
<add key="SendEmail" value="on"/>
|
||
|
|
<add key="ServerMail" value="webmail.aya.go.cr"/>
|
||
|
|
<add key="SenderMail" value="ADS@aya.go.cr"/>
|
||
|
|
<add key="DisplayNameServer" value="ADS"/>
|
||
|
|
<!--Configuracion para constantes en el sistema-->
|
||
|
|
<add key="pkApp" value="3"/>
|
||
|
|
<add key="Sistema" value="SISTEMA DE ADMINISTRACION DE SEGURIDAD"/>
|
||
|
|
<add key="AMBIENTE" value="AMBIENTE DE DESARROLLO"/>
|
||
|
|
<add key="LLAVEAPCR" value="7007B685-6BA9-4014-BE40-C486F61FEAE6"/>
|
||
|
|
<add key="DocumentosMachote" value="\\fileproyectos\FileDesarrollo\SIGDD\DocumentosMachote"/>
|
||
|
|
<add key="DocumentosODT" value="\\fileproyectos\FileDesarrollo\SIGDD\DocumentosODT"/>
|
||
|
|
<add key="DocumentosPDF" value="\\fileproyectos\FileDesarrollo\SIGDD\DocumentosPDF"/>
|
||
|
|
<add key="AspPDF_RegKey" value="GYlbhSTuhBzuSEXhSunif/sB0qIibkxtJd/XgRDVhDEKPMKsIFKCREnORVOu1TlBySzUm0d1PTA/"/>
|
||
|
|
<add key="Imagenes" value="\\fileproyectos\FileDesarrollo\SIGDD\Images\Logos\logoAyA.png"/>
|
||
|
|
<add key="TamañoArchivosBytes" value="20971520"/>
|
||
|
|
<add key="RutaPdfAdjuntosSql" value="\\fileproyectos\FileDesarrollo\SIGDD\DocumentosPDF"/>
|
||
|
|
<add key="SIGLAS" value="SIGDD"/>
|
||
|
|
<!--CREDENCIALES PARA ACCESAR EL DIRECTORIO ASTATE-->
|
||
|
|
<add key="pActiveDirectory" value="disponibilidad"/>
|
||
|
|
<add key="passAD" value="12345678"/>
|
||
|
|
<!--CONFIGURACIÓN DE PARAMETROS DE VISIÓN 2020-->
|
||
|
|
<!--Preguntar a Pedro-->
|
||
|
|
<add key="vision2020serverapionline.wsapi" value="http://aya-vsrv-scanv/vision2020serverapionline/wsapi.asmx"/>
|
||
|
|
<add key="prmGaveta_disponibilidades_VISION2020" value="disponibilidades"/>
|
||
|
|
<add key="prmArchivadores_VISION2020" value="PRUEBAS"/>
|
||
|
|
<add key="prmUsuario_VISION2020" value="sdaa"/>
|
||
|
|
<add key="prmPass_disponibilidades_VISION2020" value="usersdaa"/>
|
||
|
|
<add key="prmControl_disponibilidades_VISION2020" value="disponibilidades"/>
|
||
|
|
<add key="prmUsuario_disponibilidades_VISION2020" value="disponibilidades"/>
|
||
|
|
<!--llaves vision 2020-->
|
||
|
|
<add key="const_strUsuario" value="sdaa"/>
|
||
|
|
<add key="const_strClave" value="usersdaa"/>
|
||
|
|
<!--Pruebas-->
|
||
|
|
<add key="const_strArchivadores" value="PRUEBAS"/>
|
||
|
|
<add key="const_strGaveta" value="Disponibilidades"/>
|
||
|
|
<add key="const_strLlaves" value="Solicitud|Secciones"/>
|
||
|
|
<!--Fin de Pruebas-->
|
||
|
|
<!--FIRMA DIGITAL-->
|
||
|
|
<add key="UrlFirmadorWeb" value="http://firmadigital.aya.go.cr/hapi/FirmadorWeb/Documento/{0}?uid={1}&u=callback&tk={2}"/>
|
||
|
|
<add key="LlaveEncripcionFW" value="Prueba28MAY14"/>
|
||
|
|
<!--Debe ser igual en el servicio de firma digital -->
|
||
|
|
<add key="IdUsuarioSistemaCliente" value="5"/>
|
||
|
|
<add key="CedulaFirmaSIGPC" value="02-0001-0001"/>
|
||
|
|
<!--FIN FIRMA DIGITAL-->
|
||
|
|
<!--ENCRIPTADOR-->
|
||
|
|
<add key="globalSecretKey" value="12EstaClave34es56dificil489ssswf"/>
|
||
|
|
<add key="globalInitializationVector" value="@Fa1C02.1cO8U3B9=*"/>
|
||
|
|
</appSettings>
|
||
|
|
<connectionStrings>
|
||
|
|
<!--<add name="ADS" connectionString="Data Source=AYA-VSRV-BDDS;Initial Catalog=ADSv2;Persist Security Info=True;User ID=useradsv2;Password=useradsv2" providerName="System.Data.SqlClient" />
|
||
|
|
<add name="SIGDD" connectionString="Data Source=AYA-VSRV-BDDS;Initial Catalog=SIGPC;Persist Security Info=True;User ID=usersigpc;Password=usersigpc" providerName="System.Data.SqlClient" />
|
||
|
|
<add name="NOTIFICACIONES" connectionString="Data Source=AYA-VSRV-BDDS;Initial Catalog=NOTIFICACIONES;Persist Security Info=True;User ID=usernotificaciones;Password=usernotificaciones" providerName="System.Data.SqlClient" />
|
||
|
|
<add name="SDAAConnectionString" connectionString="Data Source=aya-vsrv-bdds;Initial Catalog=SIGPC;Persist Security Info=True;User ID=usersigpc;Password=usersigpc" providerName="System.Data.SqlClient" />-->
|
||
|
|
<!--<add name="ADS" connectionString="Data Source=AYA-VSRV-BD;Initial Catalog=ADSv2;Persist Security Info=True;User ID=useradsv2;Password=us3radsv2" providerName="System.Data.SqlClient" />-->
|
||
|
|
<!--<add name="SIGDD" connectionString="Data Source=AYA-VSRV-BD;Initial Catalog=SIGPC;Persist Security Info=True;User ID=usersigpc;Password=us3rsigpc" providerName="System.Data.SqlClient" />-->
|
||
|
|
<add name="ADS" connectionString="Data Source=192.168.20.13\ULTIMUSDEV8;Initial Catalog=ADSv2;Persist Security Info=True;User ID=useradsv2;Password=useradsv2" providerName="System.Data.SqlClient"/>
|
||
|
|
<add name="SIGDD" connectionString="Data Source=192.168.20.13\ULTIMUSDEV8;initial catalog=SIGPC;persist security info=True;user id=db_proyectos;password=Atesa$2020" providerName="System.Data.SqlClient"/>
|
||
|
|
<add name="NOTIFICACIONES" connectionString="Data Source=AYA-VSRV-BD;Initial Catalog=NOTIFICACIONES;Persist Security Info=True;User ID=usernotificaciones;Password=us3rnotificaciones" providerName="System.Data.SqlClient"/>
|
||
|
|
<add name="SDAAConnectionString" connectionString="Data Source=192.168.20.13\ULTIMUSDEV8;Initial Catalog=SIGPC;Persist Security Info=True;user id=db_proyectos;password=Atesa$2020" providerName="System.Data.SqlClient"/>
|
||
|
|
</connectionStrings>
|
||
|
|
<!--
|
||
|
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||
|
|
|
||
|
|
The following attributes can be set on the <httpRuntime> tag.
|
||
|
|
<system.Web>
|
||
|
|
<httpRuntime targetFramework="4.5" />
|
||
|
|
</system.Web>
|
||
|
|
-->
|
||
|
|
<system.web>
|
||
|
|
<authorization>
|
||
|
|
<allow users="*"/>
|
||
|
|
</authorization>
|
||
|
|
<compilation targetFramework="4.7.2" debug="true">
|
||
|
|
<assemblies>
|
||
|
|
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||
|
|
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||
|
|
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||
|
|
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
||
|
|
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||
|
|
<add assembly="System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||
|
|
<add assembly="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||
|
|
</assemblies>
|
||
|
|
</compilation>
|
||
|
|
<httpRuntime targetFramework="4.6" maxRequestLength="500000000" executionTimeout="10800"/>
|
||
|
|
<httpModules>
|
||
|
|
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||
|
|
</httpModules>
|
||
|
|
<pages controlRenderingCompatibilityVersion="4.0">
|
||
|
|
<namespaces>
|
||
|
|
<add namespace="System.Web.Optimization"/>
|
||
|
|
<add namespace="Microsoft.AspNet.Identity"/>
|
||
|
|
</namespaces>
|
||
|
|
<controls>
|
||
|
|
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
|
||
|
|
</controls>
|
||
|
|
</pages>
|
||
|
|
<membership>
|
||
|
|
<providers>
|
||
|
|
<!--
|
||
|
|
La pertenencia a ASP.NET está deshabilitada en esta plantilla. Visite el vínculo siguiente http://go.microsoft.com/fwlink/?LinkId=301889 para obtener información sobre la compatibilidad con la pertenencia a ASP.NET en esta plantilla
|
||
|
|
-->
|
||
|
|
<clear/>
|
||
|
|
</providers>
|
||
|
|
</membership>
|
||
|
|
<profile>
|
||
|
|
<providers>
|
||
|
|
<!--
|
||
|
|
El perfil de pertenencia a ASP.NET está deshabilitado en esta plantilla. Visite el vínculo siguiente http://go.microsoft.com/fwlink/?LinkId=301889 para obtener información sobre la compatibilidad con la pertenencia a ASP.NET en esta plantilla
|
||
|
|
-->
|
||
|
|
<clear/>
|
||
|
|
</providers>
|
||
|
|
</profile>
|
||
|
|
<roleManager>
|
||
|
|
<!--
|
||
|
|
El rol de pertenencia a ASP.NET está deshabilitado en esta plantilla. Visite el vínculo siguiente http://go.microsoft.com/fwlink/?LinkId=301889 para obtener información sobre la compatibilidad con la pertenencia a ASP.NET en esta plantilla
|
||
|
|
-->
|
||
|
|
<providers>
|
||
|
|
<clear/>
|
||
|
|
</providers>
|
||
|
|
</roleManager>
|
||
|
|
<!--
|
||
|
|
Si la implementación se realiza en un entorno de nube con varias instancias de servidor web,
|
||
|
|
debería cambiar el modo de estado de sesión de "InProc" a "Custom". Además, cambie también
|
||
|
|
la cadena de conexión con el nombre "DefaultConnection" para conectarse a una instancia de
|
||
|
|
SQL Server (incluidos SQL Azure y SQL Compact) en lugar de conectarse a SQL Server Express.
|
||
|
|
-->
|
||
|
|
<sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="40">
|
||
|
|
<providers>
|
||
|
|
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
|
||
|
|
</providers>
|
||
|
|
</sessionState>
|
||
|
|
<globalization culture="es-MX" uiCulture="es-MX"/>
|
||
|
|
<identity impersonate="false"/>
|
||
|
|
</system.web>
|
||
|
|
<system.webServer>
|
||
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
||
|
|
<modules runAllManagedModulesForAllRequests="true">
|
||
|
|
<remove name="ScriptModule"/>
|
||
|
|
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||
|
|
</modules>
|
||
|
|
<security>
|
||
|
|
<requestFiltering>
|
||
|
|
<requestLimits maxAllowedContentLength="52428800"/>
|
||
|
|
</requestFiltering>
|
||
|
|
</security>
|
||
|
|
<handlers>
|
||
|
|
<remove name="WebServiceHandlerFactory-Integrated"/>
|
||
|
|
<remove name="ScriptHandlerFactory"/>
|
||
|
|
<remove name="ScriptHandlerFactoryAppServices"/>
|
||
|
|
<remove name="ScriptResource"/>
|
||
|
|
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||
|
|
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||
|
|
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||
|
|
</handlers>
|
||
|
|
<staticContent>
|
||
|
|
<mimeMap fileExtension=".odt" mimeType="application/vnd.oasis.opendocument.text"/>
|
||
|
|
</staticContent>
|
||
|
|
<defaultDocument>
|
||
|
|
<files>
|
||
|
|
<add value="Forms/wfrLogin.aspx"/>
|
||
|
|
<add value="Login.aspx"/>
|
||
|
|
</files>
|
||
|
|
</defaultDocument>
|
||
|
|
<directoryBrowse enabled="true"/>
|
||
|
|
</system.webServer>
|
||
|
|
<runtime>
|
||
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||
|
|
<dependentAssembly>
|
||
|
|
<assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35"/>
|
||
|
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
|
||
|
|
</dependentAssembly>
|
||
|
|
<dependentAssembly>
|
||
|
|
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral"/>
|
||
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
|
||
|
|
</dependentAssembly>
|
||
|
|
<dependentAssembly>
|
||
|
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
||
|
|
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
|
||
|
|
</dependentAssembly>
|
||
|
|
</assemblyBinding>
|
||
|
|
</runtime>
|
||
|
|
<entityFramework>
|
||
|
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
||
|
|
<parameters>
|
||
|
|
<parameter value="v11.0"/>
|
||
|
|
</parameters>
|
||
|
|
</defaultConnectionFactory>
|
||
|
|
<providers>
|
||
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
|
||
|
|
</providers>
|
||
|
|
</entityFramework>
|
||
|
|
<system.serviceModel>
|
||
|
|
<bindings>
|
||
|
|
<basicHttpBinding>
|
||
|
|
<binding name="BasicHttpBinding_IService1" sendTimeout="00:10:00"/>
|
||
|
|
<binding name="ServiceSoap"/>
|
||
|
|
<binding name="BasicHttpBinding_IFirmaDigitalAvSvc" maxReceivedMessageSize="104857600"/>
|
||
|
|
<binding name="BasicHttpBinding_IFirmadorWebSvc" maxReceivedMessageSize="104857600" messageEncoding="Mtom">
|
||
|
|
<readerQuotas maxArrayLength="104857600"/>
|
||
|
|
<security mode="Message">
|
||
|
|
<message clientCredentialType="Certificate"/>
|
||
|
|
</security>
|
||
|
|
</binding>
|
||
|
|
<binding name="BasicHttpBinding_IServicio">
|
||
|
|
<security mode="Transport"/>
|
||
|
|
</binding>
|
||
|
|
<binding name="BasicHttpBinding_IService11"/>
|
||
|
|
<binding name="BasicHttpBinding_IFirmaDigitalAvSvc1"/>
|
||
|
|
<binding name="BasicHttpBinding_IFirmadorWebSvc1" messageEncoding="Mtom">
|
||
|
|
<security mode="Message">
|
||
|
|
<message clientCredentialType="Certificate"/>
|
||
|
|
</security>
|
||
|
|
</binding>
|
||
|
|
<binding name="ServiceSoap1"/>
|
||
|
|
</basicHttpBinding>
|
||
|
|
</bindings>
|
||
|
|
<client>
|
||
|
|
<endpoint address="http://aya-vsrv-webws:2000/service.asmx" binding="basicHttpBinding" bindingConfiguration="ServiceSoap" contract="wsOpenConstruccion.ServiceSoap" name="ServiceSoap"/>
|
||
|
|
<endpoint address="http://firmadigital.aya.go.cr/hapi/fdg/WebServices/FirmaDigitalAvSvc.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFirmaDigitalAvSvc" contract="FirmaDigitalAv.IFirmaDigitalAvSvc" name="BasicHttpBinding_IFirmaDigitalAvSvc"/>
|
||
|
|
<endpoint address="http://firmadigital.aya.go.cr/hapi/fdg/WebServices/FirmadorWebSvc.svc" behaviorConfiguration="seguridad" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFirmadorWebSvc" contract="FirmadorWeb.IFirmadorWebSvc" name="BasicHttpBinding_IFirmadorWebSvc">
|
||
|
|
<identity>
|
||
|
|
<dns value="AYA 2025"/>
|
||
|
|
</identity>
|
||
|
|
</endpoint>
|
||
|
|
<endpoint address="https://apc2.cfia.or.cr/APCR_WCF_Respuesta/WS_RespuestaAPCR.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicio" contract="APCR_WCF_Respuesta.IServicio" name="BasicHttpBinding_IServicio"/>
|
||
|
|
<endpoint address="http://vsrv-sdigetrans.intranet.aya.go.cr:5055/Service1.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService11" contract="ASPDF.IService1" name="BasicHttpBinding_IService11"/>
|
||
|
|
<endpoint address="http://aya-vsrv-webws:2000/service.asmx" binding="basicHttpBinding" bindingConfiguration="ServiceSoap1" contract="wsOpenConstruccion.ServiceSoap" name="ServiceSoap1"/>
|
||
|
|
</client>
|
||
|
|
<behaviors>
|
||
|
|
<endpointBehaviors>
|
||
|
|
<!-- aquí se configura el certificado digital que se usará para
|
||
|
|
autenticar el cliente con el servicio de firma digital-->
|
||
|
|
<behavior name="seguridad">
|
||
|
|
<clientCredentials>
|
||
|
|
<clientCertificate findValue="00b837eb4b8caeb526" x509FindType="FindBySerialNumber" storeLocation="LocalMachine" storeName="My"/>
|
||
|
|
<serviceCertificate>
|
||
|
|
<authentication certificateValidationMode="None" revocationMode="NoCheck"/>
|
||
|
|
<defaultCertificate findValue="00b837eb4b8caeb526" x509FindType="FindBySerialNumber" storeLocation="LocalMachine" storeName="My"/>
|
||
|
|
</serviceCertificate>
|
||
|
|
</clientCredentials>
|
||
|
|
</behavior>
|
||
|
|
</endpointBehaviors>
|
||
|
|
</behaviors>
|
||
|
|
</system.serviceModel>
|
||
|
|
<system.web.extensions>
|
||
|
|
<scripting>
|
||
|
|
<webServices>
|
||
|
|
<jsonSerialization maxJsonLength="5000000"/>
|
||
|
|
</webServices>
|
||
|
|
</scripting>
|
||
|
|
</system.web.extensions>
|
||
|
|
</configuration>
|