<?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: Authentication Subsystem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287433#M240563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is nearly exactly my question, I want to default the configuration of our external authentication subsystem using an AMP module, so we can simply drop the AMP in, apply, and restart without having to make additional modifications.&amp;nbsp; That being said, I've been attempting to set the properties such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\external\external-apache\external-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.defaultAdministratorUserNames=admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.proxyUserName=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.proxyHeader=X-Alfresco-Remote-User&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.userIdPattern=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps\alfresco\WEB-INF\classes\alfresco\module\clifton-alfresco-repo\alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ntlm.authentication.sso.enabled=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=external-apache:external,alfrescoNtlm:alfrescoNtlm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried various locations and names (e.g. dropping external-apache from the path, and just placing in the 'external' dir, or using 'external-filter.properties' as the filename instead, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first amp module that contains some other default configurations (e.g. folder structure, aspects, custom action, etc), but I just don't understand why the external auth works when I place all of the configs about in the shared/classes/alfresco-global.properties, but not when defined in (what I think) is the proper path within the module itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even based on the descriptions of the way the properties files are loaded makes me think it 'should' work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(From '&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems&lt;/A&gt;&lt;SPAN&gt;'):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;________________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Precedence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As discussed above, the precedence for the configuration properties files for subsystems are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JMX changes persisted in the database &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in a specific subsystem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco/extension/subsystems/&amp;lt;category&amp;gt;/&amp;lt;type&amp;gt;/&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in the default subsystem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco/extension/subsystems/&amp;lt;category&amp;gt;/default/default&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in the global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;default attribute values set in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* webapps/alfresco/WEB-INF/classes/alfresco/subsystems/&amp;lt;category&amp;gt;/&amp;lt;type&amp;gt;/&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I not understanding correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 21:26:25 GMT</pubDate>
    <dc:creator>sfahey</dc:creator>
    <dc:date>2016-01-28T21:26:25Z</dc:date>
    <item>
      <title>Authentication Subsystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287431#M240561</link>
      <description>I have been confused as to which file the authentication chain looks at. From my understanding, if I define my authentication chain as:&amp;lt;blockcode&amp;gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap-ad&amp;lt;/blockcode&amp;gt;I understood that ldap1 refers to a directory I created (ldap1) withi</description>
      <pubDate>Mon, 14 Apr 2014 18:12:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287431#M240561</guid>
      <dc:creator>sicknick</dc:creator>
      <dc:date>2014-04-14T18:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication Subsystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287432#M240562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your ldap1 subsystem is in the wrong place.&amp;nbsp; It should go under the shared/extension folder since it your config.&amp;nbsp;&amp;nbsp; And if you have a simple chain like yours then just put your properties in alfresco-global.properties. No need to touch the subsystem config at all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 22:37:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287432#M240562</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-04-14T22:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication Subsystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287433#M240563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is nearly exactly my question, I want to default the configuration of our external authentication subsystem using an AMP module, so we can simply drop the AMP in, apply, and restart without having to make additional modifications.&amp;nbsp; That being said, I've been attempting to set the properties such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\external\external-apache\external-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.defaultAdministratorUserNames=admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.proxyUserName=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.proxyHeader=X-Alfresco-Remote-User&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;external.authentication.userIdPattern=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps\alfresco\WEB-INF\classes\alfresco\module\clifton-alfresco-repo\alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ntlm.authentication.sso.enabled=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=external-apache:external,alfrescoNtlm:alfrescoNtlm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried various locations and names (e.g. dropping external-apache from the path, and just placing in the 'external' dir, or using 'external-filter.properties' as the filename instead, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first amp module that contains some other default configurations (e.g. folder structure, aspects, custom action, etc), but I just don't understand why the external auth works when I place all of the configs about in the shared/classes/alfresco-global.properties, but not when defined in (what I think) is the proper path within the module itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even based on the descriptions of the way the properties files are loaded makes me think it 'should' work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(From '&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems&lt;/A&gt;&lt;SPAN&gt;'):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;________________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Precedence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As discussed above, the precedence for the configuration properties files for subsystems are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JMX changes persisted in the database &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in a specific subsystem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco/extension/subsystems/&amp;lt;category&amp;gt;/&amp;lt;type&amp;gt;/&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in the default subsystem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco/extension/subsystems/&amp;lt;category&amp;gt;/default/default&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attribute changes made in the global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* shared/classes/alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; precedes &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;default attribute values set in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* webapps/alfresco/WEB-INF/classes/alfresco/subsystems/&amp;lt;category&amp;gt;/&amp;lt;type&amp;gt;/&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I not understanding correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 21:26:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287433#M240563</guid>
      <dc:creator>sfahey</dc:creator>
      <dc:date>2016-01-28T21:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication Subsystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287434#M240564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't put any or your configuration into your "webapps" or exploded WEB-INF folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 10:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-subsystem/m-p/287434#M240564</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2016-01-29T10:21:15Z</dc:date>
    </item>
  </channel>
</rss>

