<?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 Authentication using Shibboleth in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106191#M30018</link>
    <description>&lt;P&gt;I am not sure why you say it doesn't support SAML 2.0 when the documentation directly contradicts this: &lt;A href="https://docs.alfresco.com/saml/concepts/saml-prereqs.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/saml/concepts/saml-prereqs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe I am misunderstanding, could you maybe explain a little more, also the issue with the apache conf was just a copy and paste error, sorry about that.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2020 16:45:38 GMT</pubDate>
    <dc:creator>criedlberger</dc:creator>
    <dc:date>2020-01-29T16:45:38Z</dc:date>
    <item>
      <title>External Authentication using Shibboleth</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106189#M30016</link>
      <description>&lt;DIV class="p-rich_text_section"&gt;Hi there, we are having an issue using header based external authentication using shibboleth in Alfresco 5.2. User passwords are being corrupted and cannot login even after we change the password. After disabling external authentication in the authentication chain everything starts to work again. I have included the following setup for the files we are using in alfresco, apache and shibboleth:&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&lt;BR /&gt;alfresco-global.properties:&lt;/DIV&gt;&lt;PRE&gt;authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm&lt;BR /&gt;external.authentication.enabled=true&lt;BR /&gt;external.authentication.proxyUserName=&lt;BR /&gt;external.authentication.proxyHeader=X-Alfresco-Remote-User&lt;BR /&gt;external.authentication.defaultAdministratorUserNames=admin&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;apache conf:&lt;/DIV&gt;&lt;PRE&gt;&amp;lt;VirtualHost *:80&amp;gt;#DocumentRoot '/home/alfresco/apps/httpd-2.2.17/htdocs'&lt;BR /&gt;ServerName &lt;A href="https://ourserver.com/" target="_blank" rel="noopener noreferrer nofollow"&gt;https://ourserver.com&lt;/A&gt;&lt;BR /&gt;UseCanonicalName On&lt;BR /&gt;#ErrorLog '/home/alfresco/apps/httpd-2.2.17/logs/error_log'&lt;BR /&gt;#TransferLog '/home/alfresco/apps/httpd-2.2.17/logs/access_log'#Remove header to close hole to access Alfresco with arbitrary user&lt;BR /&gt;RequestHeader unset X-Alfresco-Remote-UserProxyRequests Off&lt;BR /&gt;RewriteEngine On# Ignore Shibboleth&lt;BR /&gt;ProxyPass /Shibboleth.sso !# Alfresco Surfconext&lt;BR /&gt;ProxyPass /surfconext &lt;A href="ajp://alfresco:8009/alfresco/s/board/api/auth" target="_blank" rel="noopener noreferrer nofollow"&gt;ajp://alfresco:8009/alfresco/s/board/api/auth&lt;/A&gt;&lt;BR /&gt;#ProxyPassReverse /surfconext &lt;A href="http://192.168.65.2:3001/" target="_blank" rel="noopener noreferrer nofollow"&gt;http://192.168.65.2:3001/&lt;/A&gt;ProxyPass / &lt;A href="http://exam-board-svc/" target="_blank" rel="noopener noreferrer nofollow"&gt;http://exam-board-svc&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse / &lt;A href="http://exam-board-svc/" target="_blank" rel="noopener noreferrer nofollow"&gt;http://exam-board-svc&lt;/A&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;shibboleth2.xml:&lt;/DIV&gt;&lt;PRE&gt;&amp;lt;SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"&lt;BR /&gt;          xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"&lt;BR /&gt;          xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"&lt;BR /&gt;          xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"&lt;BR /&gt;          xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"&lt;BR /&gt;          clockSkew="180"&amp;gt;    &amp;lt;ApplicationDefaults entityID="&lt;A href="https://ourserver.com/Shibboleth" target="_blank" rel="noopener noreferrer nofollow"&gt;https://ourserver.com/Shibboleth&lt;/A&gt;"&lt;BR /&gt;                         REMOTE_USER="Shib-eduPersonPN Shib-eduPersonPrincipalName persistent-id targeted-id"&amp;gt;&lt;BR /&gt;        &amp;lt;Sessions lifetime="30" timeout="30" checkAddress="false" relayState="ss:mem" handlerSSL="true" cookieProps="https" maxTimeSinceAuthn="60"&amp;gt;&lt;BR /&gt;            &amp;lt;SSO entityID="https://engine.surfconext.nl/authentication/idp/metadata" forceAuthn="true"&amp;gt;SAML2&amp;lt;/SSO&amp;gt;&lt;BR /&gt;            &amp;lt;Logout&amp;gt;SAML2 Local&amp;lt;/Logout&amp;gt;&lt;BR /&gt;            &amp;lt;Handler type="MetadataGenerator" Location="/Metadata" signing="false"/&amp;gt;&lt;BR /&gt;            &amp;lt;Handler type="Status"            Location="/Status"/&amp;gt;&lt;BR /&gt;            &amp;lt;Handler type="Session"           Location="/Session" showAttributeValues="true"/&amp;gt;&lt;BR /&gt;            &amp;lt;Handler type="DiscoveryFeed"     Location="/DiscoFeed"/&amp;gt;&lt;BR /&gt;        &amp;lt;/Sessions&amp;gt;&lt;BR /&gt;        &amp;lt;Errors supportContact="out.email@ourserver.com" logoLocation="https://www.ourserver.com/gfx/logo.png" styleSheet="/shibboleth-sp/main.css"/&amp;gt;&lt;BR /&gt;        &amp;lt;MetadataProvider type="XML" url="https://metadata.surfconext.nl/idp-metadata.xml" backingFilePath="metadata-surfconext.xml" reloadInterval="3600000"&amp;gt;&lt;BR /&gt;            &amp;lt;MetadataFilter type="Signature" certificate="/etc/shibboleth/surfconext.pem"/&amp;gt;&lt;BR /&gt;        &amp;lt;/MetadataProvider&amp;gt;&lt;BR /&gt;        &amp;lt;AttributeExtractor type="XML" validate="true" path="attribute-map.xml"/&amp;gt;&lt;BR /&gt;        &amp;lt;AttributeResolver type="Query" subjectMatch="true"/&amp;gt;&lt;BR /&gt;        &amp;lt;AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/&amp;gt;&lt;BR /&gt;        &amp;lt;CredentialResolver type="File" key="shib.key" certificate="shib.crt"/&amp;gt;&lt;BR /&gt;    &amp;lt;/ApplicationDefaults&amp;gt;&lt;BR /&gt;    &amp;lt;SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/&amp;gt;&lt;BR /&gt;    &amp;lt;ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/&amp;gt;&lt;BR /&gt;&amp;lt;/SPConfig&amp;gt;&lt;/PRE&gt;&lt;P&gt;Does anyone know how External Authorization might be causing this issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 17:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106189#M30016</guid>
      <dc:creator>criedlberger</dc:creator>
      <dc:date>2020-01-22T17:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication using Shibboleth</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106190#M30017</link>
      <description>&lt;P&gt;External authentication in the default installation of Alfresco is implemented only using HTTP Header federation.&lt;/P&gt;
&lt;P&gt;Looking at your Shibboleth configuration I see only SAML2 and XML that are both not supported by Alfresco. SAML2 is supported only if you install the dedicated plugin or if you use the Alfresco Identity Server (Keycloak).&lt;/P&gt;
&lt;P&gt;Your apache conf seems wrong:&lt;/P&gt;
&lt;PRE&gt;RequestHeader unset X-Alfresco-Remote-UserProxyRequests Off
&lt;/PRE&gt;
&lt;P&gt;it should be:&lt;/P&gt;
&lt;PRE&gt;RequestHeader unset X-Alfresco-Remote-User
ProxyRequests Off
&lt;/PRE&gt;
&lt;P&gt;Maybe this could be a problem.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 11:10:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106190#M30017</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2020-01-23T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication using Shibboleth</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106191#M30018</link>
      <description>&lt;P&gt;I am not sure why you say it doesn't support SAML 2.0 when the documentation directly contradicts this: &lt;A href="https://docs.alfresco.com/saml/concepts/saml-prereqs.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/saml/concepts/saml-prereqs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe I am misunderstanding, could you maybe explain a little more, also the issue with the apache conf was just a copy and paste error, sorry about that.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 16:45:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106191#M30018</guid>
      <dc:creator>criedlberger</dc:creator>
      <dc:date>2020-01-29T16:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication using Shibboleth</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106192#M30019</link>
      <description>&lt;P&gt;The documentation you link to mentions, that you have to install this separatly. I guess that's what &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/43097"&gt;@openpj&lt;/A&gt; was refering to as the "dedicated plugin" which seems to be available to paying customers only.&lt;/P&gt;&lt;P&gt;My understanding would be that the prefered way for SAML SSO would be to use the Identity Services (Keycloak) as the glue between ACS/APS and Shibboleth. But it's basically a guess, so do your own research. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 17:16:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-using-shibboleth/m-p/106192#M30019</guid>
      <dc:creator>mjw</dc:creator>
      <dc:date>2020-02-10T17:16:17Z</dc:date>
    </item>
  </channel>
</rss>

