<?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: External Auth REST Api visibility in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91038#M27122</link>
    <description>&lt;P&gt;You have enabled external authentication, which means Alfresco is no longer responsible for authentication--that has been delegated to some other system.&lt;/P&gt;
&lt;P&gt;Whatever is in X-Alfresco-Remote-User is the user that Alfresco is going to assume has already been authenticated by your external system.&lt;/P&gt;
&lt;P&gt;In this configuration you need to make sure that all traffic to Alfresco goes through a proxy which is protected by whatever external auth system you've enabled.&lt;/P&gt;
&lt;P&gt;Hope that makes sense and that I'm understanding your issue correctly.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 16:27:58 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2020-08-11T16:27:58Z</dc:date>
    <item>
      <title>External Auth REST Api visibility</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91037#M27121</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I'm trying to invoke &lt;SPAN&gt;Alfresco Core REST API&lt;/SPAN&gt; with external authentication option enabled. Everything works, but I have found there is one thing I do not understand.&lt;/P&gt;&lt;P&gt;As indicated in the documentation, in the file &lt;EM&gt;alfresco-global.properties&lt;/EM&gt;&amp;nbsp;, the property&lt;/P&gt;&lt;PRE&gt;external.authentication.defaultAdministratorUserNames = admin&lt;/PRE&gt;&lt;P&gt;is a &lt;EM&gt;separated list of user names who should be considered administrators by default&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I expected that the services could be called with external authentication only if the credentials of one of the administrators were present in the Basic Auth of the request.&lt;/P&gt;&lt;P&gt;Instead it works in all cases.&lt;/P&gt;&lt;P&gt;For example, I can access the administrator's data by passing the credentials of any user in the Basic Auth and in the header&amp;nbsp;&lt;EM&gt;X-Alfresco-Remote-User=admin.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So what is the meaning of that property? And isn't there a way to avoid this behavior?&lt;/P&gt;&lt;P&gt;One last thing.&lt;/P&gt;&lt;P&gt;If a username not present in the system is passed in the header, I noticed that it is automatically created even if I don't understand with what password. Can't we avoid this?&lt;/P&gt;&lt;P&gt;I forgot, I'm using Alfresco Community Edition 6.2.&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 16:16:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91037#M27121</guid>
      <dc:creator>iwine</dc:creator>
      <dc:date>2020-08-04T16:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: External Auth REST Api visibility</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91038#M27122</link>
      <description>&lt;P&gt;You have enabled external authentication, which means Alfresco is no longer responsible for authentication--that has been delegated to some other system.&lt;/P&gt;
&lt;P&gt;Whatever is in X-Alfresco-Remote-User is the user that Alfresco is going to assume has already been authenticated by your external system.&lt;/P&gt;
&lt;P&gt;In this configuration you need to make sure that all traffic to Alfresco goes through a proxy which is protected by whatever external auth system you've enabled.&lt;/P&gt;
&lt;P&gt;Hope that makes sense and that I'm understanding your issue correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 16:27:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91038#M27122</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2020-08-11T16:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: External Auth REST Api visibility</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91039#M27123</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the detail!&lt;/P&gt;&lt;P&gt;Have some questions:a)&amp;nbsp;&lt;SPAN&gt;Can you please suggest what are the ways to protect the proxy by external auth system(ADFS).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;b) If there is another mulesoft layer between custom UI and Alfresco server(with or without proxy) then how can the external authentication work via mulesoft(sample screenshot 1 attached)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The UI will make REST calls to mulesoft which has the api wrappers over alfresco REST apis.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Also UI server can authenticate with mulesoft only via Oauth2 ,&amp;nbsp;&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="alf_ext_auth_adfs.PNG" style="width: 999px;"&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/774i31A4C0FF94D47929/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>Mon, 04 Jan 2021 23:17:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-auth-rest-api-visibility/m-p/91039#M27123</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2021-01-04T23:17:58Z</dc:date>
    </item>
  </channel>
</rss>

