<?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: Multi-tenancy authentication error - integration with LibreOffice-Online in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67910#M22602</link>
    <description>&lt;PRE&gt;Exception from executeScript: 06130008 Authorization 'Bearer' not supported.
 org.springframework.extensions.webscripts.WebScriptException: 06130008 Authorization 'Bearer' not supported.
	at org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory$BasicHttpAuthenticator.authenticate(BasicHttpAuthenticatorFactory.java:200)
	at org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory$RemoteUserAuthenticator.authenticate(RemoteUserAuthenticatorFactory.java:159)
	at org.alfresco.repo.web.scripts.RepositoryContainer.authenticate(RepositoryContainer.java:721)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:157)
	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)&lt;/PRE&gt;&lt;P&gt;This exception only throw when&amp;nbsp;I created more than one tenant. It might be fixed by adding a servet filter, but I don't konwn how to do this.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 06:56:05 GMT</pubDate>
    <dc:creator>Jectpro</dc:creator>
    <dc:date>2020-07-13T06:56:05Z</dc:date>
    <item>
      <title>Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67905#M22597</link>
      <description>Hi,I'm using Alfresco Community - 5.2.0 with an AMP module (WOPI host capabilities to Alfresco) to integrate with LibreOffice-Online.The requests from LibreOffice-Online are using an access_token and when alfresco multi-tenancy is activated and&amp;nbsp; I tried to perform the requests, alfresco return this</description>
      <pubDate>Thu, 03 Jan 2019 11:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67905#M22597</guid>
      <dc:creator>fastdev</dc:creator>
      <dc:date>2019-01-03T11:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67906#M22598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are various features that are not fully supported in multi tenancy configuration. To my knowledge, this also affects some of the authentication variants.&amp;nbsp;From your stacktrace it seems that whatever OAuth2 component you were using in single tenancy mode has been replaced with Basic HTTP support in multi tenancy.&lt;/P&gt;&lt;P&gt;If you could provide your alfresco-global.properties (with necessary removal of sensitive data) and also other details about the authentication setup not visible in the configuration, we could potentially help&amp;nbsp;with more details...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 11:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67906#M22598</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-01-03T11:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67907#M22599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Axel Faust&lt;/B&gt;&lt;/P&gt;&lt;P&gt;alfresco-global.properties:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;###############################&lt;BR /&gt;## Common Alfresco Properties #&lt;BR /&gt;###############################&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;dir.root=/opt/alfresco/alf_data&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=127.0.0.1&lt;BR /&gt;alfresco.port=8443&lt;BR /&gt;alfresco.protocol=https&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;share.context=share&lt;BR /&gt;share.host=127.0.0.1&lt;BR /&gt;share.port=8443&lt;BR /&gt;share.protocol=https&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### database connection properties ###&lt;BR /&gt;db.driver=org.postgresql.Driver&lt;BR /&gt;db.username=*****&lt;BR /&gt;db.password=*****&lt;BR /&gt;db.name=alfresco&lt;BR /&gt;db.url=jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://db:5432/alfresco&lt;BR /&gt;# Note: your database must also be able to accept at least this many connections. Please see your database documentation for instructions on how to configure this.&lt;BR /&gt;db.pool.max=275&lt;BR /&gt;db.pool.validate.query=SELECT 1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;# The server mode. Set value here&lt;BR /&gt;# UNKNOWN | TEST | BACKUP | PRODUCTION&lt;BR /&gt;system.serverMode=PRODUCTION&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### FTP Server Configuration ###&lt;BR /&gt;ftp.port=21&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### RMI registry port for JMX ###&lt;BR /&gt;alfresco.rmi.services.port=50500&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### External executable locations ###&lt;BR /&gt;ooo.exe=/opt/alfresco/libreoffice/program/soffice.bin&lt;BR /&gt;ooo.enabled=true&lt;BR /&gt;ooo.port=8100&lt;BR /&gt;img.root=/opt/alfresco/common&lt;BR /&gt;img.dyn=${img.root}/lib&lt;BR /&gt;img.exe=${img.root}/bin/convert&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;jodconverter.enabled=false&lt;BR /&gt;jodconverter.officeHome=/opt/alfresco/libreoffice&lt;BR /&gt;jodconverter.portNumbers=8100&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### Initial admin password ###&lt;BR /&gt;alfresco_user_store.adminpassword=*******************&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### E-mail site invitation setting ###&lt;BR /&gt;notification.email.siteinvite=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### License location ###&lt;BR /&gt;dir.license.external=/opt/alfresco&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### Solr indexing ###&lt;BR /&gt;index.subsystem.name=solr4&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 style="padding-left: 30px;"&gt;### Allow extended ResultSet processing&lt;BR /&gt;security.anyDenyDenies=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### Smart Folders Config Properties ###&lt;BR /&gt;smart.folders.enabled=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;### Remote JMX (Default: disabled) ###&lt;BR /&gt;alfresco.jmx.connector.enabled=falsemail.host=localhost&lt;BR /&gt;mail.port=25&lt;BR /&gt;mail.from.default=*****&lt;BR /&gt;mail.protocol=smtp&lt;BR /&gt;mail.smtp.auth=false&lt;BR /&gt;mail.smtp.starttls.enable=false&lt;BR /&gt;mail.smtps.auth=false&lt;BR /&gt;mail.smtps.starttls.enable=false&lt;BR /&gt;cifs.enabled=true&lt;BR /&gt;cifs.Server.Name=localhost&lt;BR /&gt;cifs.domain=WORKGROUP&lt;BR /&gt;cifs.hostannounce=true&lt;BR /&gt;cifs.broadcast=0.0.0.255&lt;BR /&gt;cifs.ipv6.enabled=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;nfs.enabled=true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;authentication.chain=alfinst:alfrescoNtlm&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;dir.contentstore=/content/contentstore&lt;BR /&gt;dir.contentstore.deleted=/content/contentstore.deleted&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#Wopi&lt;BR /&gt;&lt;SPAN&gt;lool.wopi.url=&lt;/SPAN&gt;&lt;A class="unlinked"&gt;http://libreoffice.docker.localhost&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;lool.wopi.url.discovery=&lt;/SPAN&gt;&lt;A class="unlinked"&gt;http://libreoffice.docker.localhost/hosting/discovery&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;lool.wopi.alfresco.host=&lt;/SPAN&gt;&lt;A class="unlinked"&gt;http://docker.localhost/alfresco&lt;/A&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;LibreOffice-Online add a "Bearer token" to use in&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;the protocol calls like PutFile, GetFile or CheckFileInfo.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4a; background-color: #ffffff;"&gt;This is the repo module that was installed in Alfresco:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/ArawaFr/libreoffice-online-repo" title="https://github.com/ArawaFr/libreoffice-online-repo" rel="nofollow noopener noreferrer"&gt;GitHub - ArawaFr/libreoffice-online-repo: LibreOffice Online module for Alfresco repository&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 15:47:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67907#M22599</guid>
      <dc:creator>fastdev</dc:creator>
      <dc:date>2019-01-03T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67908#M22600</link>
      <description>&lt;P&gt;Have you fixed it,bro? I faced the same problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 07:39:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67908#M22600</guid>
      <dc:creator>Jectpro</dc:creator>
      <dc:date>2020-06-11T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67909#M22601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82045"&gt;@Jectpro&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide more information - perhaps log files, etc?&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:07:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67909#M22601</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-11T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67910#M22602</link>
      <description>&lt;PRE&gt;Exception from executeScript: 06130008 Authorization 'Bearer' not supported.
 org.springframework.extensions.webscripts.WebScriptException: 06130008 Authorization 'Bearer' not supported.
	at org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory$BasicHttpAuthenticator.authenticate(BasicHttpAuthenticatorFactory.java:200)
	at org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory$RemoteUserAuthenticator.authenticate(RemoteUserAuthenticatorFactory.java:159)
	at org.alfresco.repo.web.scripts.RepositoryContainer.authenticate(RepositoryContainer.java:721)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:157)
	at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)&lt;/PRE&gt;&lt;P&gt;This exception only throw when&amp;nbsp;I created more than one tenant. It might be fixed by adding a servet filter, but I don't konwn how to do this.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 06:56:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67910#M22602</guid>
      <dc:creator>Jectpro</dc:creator>
      <dc:date>2020-07-13T06:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy authentication error - integration with LibreOffice-Online</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67911#M22603</link>
      <description>&lt;P&gt;I found out why this happend. When alfresco contain more than one tenant, "BasicHttpAuthenticatorFactory" will change authentication policy. It required "Guest"&amp;nbsp;authentication rather than "None". I suppose the reason is when tured on multi-tenant, server cannot tell "None" from which tenant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the proplem is when I integrated alfresco with Office Online Server, I can't set http-header of request which was sent by Office Online Server. How can I remove the header before "BasicHttpAuthenticatorFactory" catch it?&lt;/P&gt;&lt;P&gt;Best regard.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 08:17:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/multi-tenancy-authentication-error-integration-with-libreoffice/m-p/67911#M22603</guid>
      <dc:creator>Jectpro</dc:creator>
      <dc:date>2020-07-13T08:17:01Z</dc:date>
    </item>
  </channel>
</rss>

