<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No puedo acceder mediante localhost in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100096#M69304</link>
    <description>&lt;P&gt;Esta todo por defecto, tal como viene en el Compose.&lt;/P&gt;&lt;P&gt;Mediante IP funciona todo muy bien, y aparte alfresco share no me funciona externamente, es decir, se carga la pagina del login, pero no puedo logearme, al introducir los datos y logearme, me direge a una antigua pagina de alfresco, pero con alfresco content application, externamente todo funcion, puedo logearme.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Apr 2021 02:41:25 GMT</pubDate>
    <dc:creator>Alfred2</dc:creator>
    <dc:date>2021-04-25T02:41:25Z</dc:date>
    <item>
      <title>No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100092#M69300</link>
      <description>&lt;P&gt;Hola instale alfresco mediante:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-docker-installer" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Puedo conectarme a alfresco share mediante la direccion ip de mi maquina y mediante DNS pero no puedo conectarme mediante:&amp;nbsp;localhost:8080/share&amp;nbsp;&lt;/P&gt;&lt;P&gt;que puedo hacer para poder conectarme tambien por localhost ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 12:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100092#M69300</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-04-20T12:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100093#M69301</link>
      <description>&lt;P&gt;Hola&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/85280"&gt;@Alfred2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apple, Windows, Linux?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:21:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100093#M69301</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-04-20T15:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100094#M69302</link>
      <description>&lt;P&gt;Linux Server 20.04 LTS&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 17:45:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100094#M69302</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-04-20T17:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100095#M69303</link>
      <description>&lt;P&gt;¿Qué error te da? ¿La llamada a localhost supongo que la haces desde la misma máquina donde estás ejecutando el docker-compose? ¿Configuraste algo respecto a puertos al utilizar el instalador? ¿Qué puertos tiene configurado el nginx, tanto de docker como de configuración interna? ¿Qué puertos estan declarados en el docker-compose para el servicio de share?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 15:30:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100095#M69303</guid>
      <dc:creator>narkuss</dc:creator>
      <dc:date>2021-04-22T15:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100096#M69304</link>
      <description>&lt;P&gt;Esta todo por defecto, tal como viene en el Compose.&lt;/P&gt;&lt;P&gt;Mediante IP funciona todo muy bien, y aparte alfresco share no me funciona externamente, es decir, se carga la pagina del login, pero no puedo logearme, al introducir los datos y logearme, me direge a una antigua pagina de alfresco, pero con alfresco content application, externamente todo funcion, puedo logearme.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 02:41:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100096#M69304</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-04-25T02:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100097#M69305</link>
      <description>&lt;P&gt;¿Algún error en el log? ¿Podrías por favor compartirnos el log?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 10:33:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100097#M69305</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-04-26T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100098#M69306</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hola, el problema de localhost ya lo solucione, pero ahora si intento entrar a alfresco share mediante 8089:http://localhost:8080/share/page me aparece la pagina, pero al intentar iniciar sesion me sale otra pagina de alfresco.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Contenedor Share.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/usr/local/tomcat/logs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 12:05:10.323 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 12:05:10.344 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 12:05:25.051 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 12:05:25.116 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'Spring Surf Dispatcher Servlet'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 12:35:30.830 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page/'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page/' vs server &amp;amp; context: http://localhost:8080/ (string) or http://localhost/.* (regexp)] with root cause&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page/'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page/' vs server &amp;amp; context: http://localhost:8080/ (string) or http://localhost/.* (regexp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;05-May-2021 14:17:22.968 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page/'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page/' vs server &amp;amp; context: http://localhost:8080/ (string) or&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;(regexp)] with root cause&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page/'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page/' vs server &amp;amp; context: http://localhost:8080/ (string) or&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;(regexp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter$AssertRefererAction.run(CSRFFilter.java:1072)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:346)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.lang.Thread.run(Thread.java:834)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 14:24:16.295 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 14:24:16.342 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 14:24:33.855 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 14:24:33.918 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'Spring Surf Dispatcher Servlet'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;05-May-2021 14:26:40.165 SEVERE [http-nio-8080-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page' vs server &amp;amp; context: http://localhost:8080/ (string) or&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;(regexp)] with root cause&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page' vs server &amp;amp; context: http://localhost:8080/ (string) or&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;(regexp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter$AssertRefererAction.run(CSRFFilter.java:1072)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:346)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.base/java.lang.Thread.run(Thread.java:834)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2021-05-06 um 08.49.09.png" style="width: 735px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/492i1945A498089AEFE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:50:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100098#M69306</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-05-06T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100099#M69307</link>
      <description>&lt;P&gt;&lt;A href="http://www.giuseppeurso.eu/en/alfresco-tips-and-tricks-13-csrf-filter-error-on-share-login-with-apache-mod_proxy-and-sslengine-on/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.giuseppeurso.eu/en/alfresco-tips-and-tricks-13-csrf-filter-error-on-share-login-with-apache-mod_proxy-and-sslengine-on/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 07:18:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100099#M69307</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-05-06T07:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100100#M69308</link>
      <description>&lt;P&gt;Hola Angel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Siento ser tan molesto,&lt;/P&gt;&lt;P&gt;hice los pasos de la guia y me sigue sin funcionar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hice el paso 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step1&lt;/STRONG&gt;&lt;SPAN&gt;. Copy the “&lt;/SPAN&gt;&lt;EM&gt;CSRFPolicy&lt;/EM&gt;&lt;SPAN&gt;” default config from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;TOMCAT_HOME/webapps/share/WEB-INF/classes/alfresco/share-security-config.xml&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;TOMCAT_HOME/shared/classes/alfresco/web-extension/share-config-custom.xml&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Luego el paso 2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Step 2.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Add the attribute &lt;/SPAN&gt;replace=”true”&lt;SPAN&gt;&amp;nbsp;like below&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;/PRE&gt;&lt;P&gt;Luego el paso 3:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3.&lt;/STRONG&gt;&amp;nbsp;Update the properties &lt;EM&gt;referer&lt;/EM&gt; e &lt;EM&gt;origin&lt;/EM&gt;&amp;nbsp;with the FQDN (https) of the Apache VirtualHost&lt;/P&gt;&lt;PRE&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;
&amp;lt;properties&amp;gt;
&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;
&amp;lt;!-- Use the pipe | in the regex as OR operator: URL1|URL2|... --&amp;gt;
&amp;lt;referer&amp;gt;https://myalfresco.com/.*&amp;lt;/referer&amp;gt;
&amp;lt;origin&amp;gt;https://myalfresco.com&amp;lt;/origin&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;En&amp;nbsp;&amp;lt;referer&amp;gt;&lt;A href="https://myalfresco.com/.*&amp;lt;/referer" target="_blank" rel="noopener nofollow noreferrer"&gt;https://myalfresco.com/.*&amp;lt;/referer&lt;/A&gt;&amp;gt; &amp;lt;origin&amp;gt;&lt;A href="https://myalfresco.com&amp;lt;/origin" target="_blank" rel="noopener nofollow noreferrer"&gt;https://myalfresco.com&amp;lt;/origin&lt;/A&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;He probado con localhost:8080 y con la IP en https y en http y sigue sin funcionar, he borrado siempre el historial del navegador para cada prueba.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Esta es mi configuracion:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[root@2373e4da0eba tomcat]# cat /usr/local/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;alfresco-config&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;This setting controls which domains' pages that shall be allowed to be included inside Share using an &amp;lt;iframe&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;All components in Share that creates an &amp;lt;iframe&amp;gt; (targeted at a user provided url) MUST assert the url is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;provided in the white list below or that it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Will be used and exposed to the client side code in Alfresco.contants.IFRAME_POLICY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Use the Alfresco.util.IFramePolicy.isUrlAllowed() to check if a url is allowed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Note!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;These settings are used to mitigate phishing attacks (i.e. displaying a login form).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;These settings are NOT used to mitigate clickjacking attacks and do NOT control if or when Share is allowed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;to be included into pages (using an &amp;lt;iframe&amp;gt;) from other domains, that is instead controlled by the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"X-Frame-Options" header inside the "SecurityHeadersPolicy" config.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;config evaluator="string-compare" condition="IFramePolicy"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!-- Local share pages/resources are governed by the same-domain element which can be set to "allow" or "deny" --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;same-domain&amp;gt;allow&amp;lt;/same-domain&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Add a list of &amp;lt;url&amp;gt; elements inside this element to form a whitelist of allowed domains.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;The check will assert that the url used for the &amp;lt;iframe&amp;gt; starts with the value of one of the &amp;lt;url&amp;gt; elements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;cross-domain&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Allow all domains by default, it is highly recommended to override this setting and instead keep a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;whitelist of the domains that you trust to be included on Share pages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;url&amp;gt;*&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/cross-domain&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/config&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;CSRF filter config to mitigate CSRF/Seasurfing/XSRF attacks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;To disable the CSRF filter override the &amp;lt;filter&amp;gt; to not contain any values, see share-config-custom.xml for&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;an example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;If you have a custom resource(s) that a client POST to that can't accept a token, for whatever reason, then make&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;sure to copy the entire CSRFPolicy config and place it in your share-config-custom.xml file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;with the replace="true" attribute and make sure to add a new &amp;lt;rule&amp;gt; in the top of the &amp;lt;filter&amp;gt; element,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;which has a &amp;lt;request&amp;gt; element matching your requests, and uses only the "assertReferer" &amp;amp; "assertOrigin" actions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;I.e.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;rule&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;request&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;method&amp;gt;POST&amp;lt;/method&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;path&amp;gt;/proxy/alfresco/custom/repoWebscript/withoutParams|/service/custom/shareResource/thatMayHaveParams(\?.+)?&amp;lt;/path&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/request&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;action name="assertReferer"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;param name="referer"&amp;gt;{referer}&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/action&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;action name="assertOrigin"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;param name="origin"&amp;gt;{origin}&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/action&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/rule&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;replace="true"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Properties that may be used inside the rest of the CSRFPolicy config to avoid repetition but&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;also making it possible to provide different values in different environments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;I.e. Different "Referer" &amp;amp; "Origin" properties for test &amp;amp; production etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Reference a property using "{propertyName}".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;properties&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!-- There is normally no need to override this property --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Override and set this property with a regexp that if you have placed Share behind a proxy that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;does not rewrite the Referer header.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;referer&amp;gt;&lt;A href="http://192.168.0.49:8080/.*&amp;lt;/referer" target="_blank" rel="noopener nofollow noreferrer"&gt;http://192.168.0.49:8080/.*&amp;lt;/referer&lt;/A&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;!--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Override and set this property with a regexp that if you have placed Share behind a proxy that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;does not rewrite the Origin header.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;origin&amp;gt;&lt;A href="http://192.168.0.49:8080&amp;lt;/origin" target="_blank" rel="noopener nofollow noreferrer"&gt;http://192.168.0.49:8080&amp;lt;/origin&lt;/A&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/properties&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 09:25:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100100#M69308</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-05-06T09:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100101#M69309</link>
      <description>&lt;P&gt;Buenas. &lt;EM&gt;CSRFPolicy&lt;/EM&gt; normalmente se configura cuando tienes un proxy, https, etc. Si es para localhost puedes deshabilitarlo. Ojea &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/cannot-configure-csrf-origin-server-for-admin-console-post/td-p/165490" target="_self" rel="nofollow noopener noreferrer"&gt;este hilo&lt;/A&gt;. Es muy interesante y probablemente te aporte información a lo que ya sabes. Una cosa a destacar: leelo completo y fijate en la respuesta del compañero &lt;SPAN class="UserName lia-user-name lia-user-rank-Member-II lia-component-message-view-widget-author-username"&gt;&lt;A href="https://hub.alfresco.com/t5/user/viewprofilepage/user-id/60563" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;kevinoudot&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; del 29 de Marzo.&lt;/P&gt;&lt;P&gt;Si aplicando la solución del hilo, sigue sin funcionarte, por favor adjuntanos de nuevo las trazas que den en el log.&lt;/P&gt;&lt;P&gt;Un saludo.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 15:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100101#M69309</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-05-06T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: No puedo acceder mediante localhost</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100102#M69310</link>
      <description>&lt;P&gt;Hola Cristina,&lt;/P&gt;&lt;P&gt;Lamentablemente sigo sin tener exito a este problema&lt;/P&gt;&lt;P&gt;&amp;nbsp;/usr/local/tomcat/shared/classes&lt;/P&gt;&lt;P&gt;alfresco-global.properties:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;csrf.filter.enabled=false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=127.0.0.1&lt;BR /&gt;alfresco.port=8080&lt;BR /&gt;alfresco.protocol=http&lt;/P&gt;&lt;P&gt;share.context=share&lt;BR /&gt;share.host=127.0.0.1&lt;BR /&gt;share.port=8080&lt;BR /&gt;share.protocol=http&lt;/P&gt;&lt;P&gt;system.serverMode=UNKNOWN&lt;/P&gt;&lt;P&gt;alfresco.rmi.services.port=50500&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;index.subsystem.name=solr6&lt;BR /&gt;dir.keystore=${dir.root}/keystore&lt;BR /&gt;solr.host=localhost&lt;BR /&gt;solr.port.ssl=8443&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;security.anyDenyDenies=false&lt;/P&gt;&lt;P&gt;### Smart Folders Config Properties ###&lt;BR /&gt;smart.folders.enabled=false&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;alfresco.jmx.connector.enabled=false&lt;/P&gt;&lt;P&gt;Nuevamente el problema&lt;/P&gt;&lt;P&gt;at java.base/java.lang.Thread.run(Thread.java:834)&lt;BR /&gt;06-May-2021 19:22:28.412 SEVERE [http-nio-8080-exec-9] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page' vs server &amp;amp; context: http://localhost:8080/ (string) or (regexp)] with root cause&lt;BR /&gt;javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header 'http://localhost:8089/share/page'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'http://localhost:8089/share/page' vs server &amp;amp; context: http://localhost:8080/ (string) or (regexp)&lt;BR /&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter$AssertRefererAction.run(CSRFFilter.java:1072)&lt;BR /&gt;at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:346)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;BR /&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)&lt;BR /&gt;at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)&lt;BR /&gt;at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;BR /&gt;at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;BR /&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)&lt;BR /&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)&lt;BR /&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)&lt;BR /&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)&lt;BR /&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)&lt;/P&gt;&lt;P&gt;Lo mas interesante es que si mapeo 8080:locahost:8080/share/page/ si me funciona, pero si intento entrar por otro puerto como 8089://localhost:8080/share/page tengo ese problema de:&amp;nbsp;/share/page/dologin :: referer: 'http://localhost:8089/share/page' vs server &amp;amp; context: http://localhost:8080/ .... etc&lt;/P&gt;&lt;P&gt;Los puerto de alfresco y alfresco share son los que vienen por defecto en el docker-compose.yml que es el 8080&lt;/P&gt;&lt;P&gt;imagen de docker&amp;nbsp;&lt;/P&gt;&lt;P&gt;share:&lt;BR /&gt;build:&lt;BR /&gt;context: ./share&lt;BR /&gt;args:&lt;BR /&gt;SHARE_TAG: ${SHARE_TAG}&lt;BR /&gt;SERVER_NAME: ${SERVER_NAME}&lt;BR /&gt;mem_limit: 1104m&lt;BR /&gt;environment:&lt;BR /&gt;REPO_HOST: "alfresco"&lt;BR /&gt;REPO_PORT: "8080"&lt;BR /&gt;CSRF_FILTER_REFERER: "http://localhost/.*"&lt;BR /&gt;CSRF_FILTER_ORIGIN: "http://localhost"&lt;BR /&gt;JAVA_OPTS: "&lt;BR /&gt;-Xms976m -Xmx976m&lt;BR /&gt;-Dalfresco.context=alfresco&lt;BR /&gt;-Dalfresco.protocol=http&lt;BR /&gt;"&lt;BR /&gt;volumes:&lt;BR /&gt;- ./logs/share:/usr/local/tomcat/logs&lt;/P&gt;&lt;P&gt;Gracias por la ayuda.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:34:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-puedo-acceder-mediante-localhost/m-p/100102#M69310</guid>
      <dc:creator>Alfred2</dc:creator>
      <dc:date>2021-05-06T19:34:58Z</dc:date>
    </item>
  </channel>
</rss>

