<?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 Alfresco Custom JDBC Authenticator in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-jdbc-authenticator/m-p/2842#M798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is designed for users integration between an Alfresco repository and a custom application. You can use it with any type of database (mysql, postgresql, oracle....) with its corresponding jdbc driver and it is fully customizable through authentication properties. You can also use CIFS with this authentication if your password field is stored in MD4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Installation guide:&lt;/STRONG&gt; The installation is tracked via AMP package. Stop Alfresco, copy the file in ${ALF_HOME}/amps and use ${ALF_HOME}/bin/apply_amps script to install de AMP. Then copy configuration files to the extension directory: &lt;CODE&gt; zylk@alf:/opt/alfresco34/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/jdbc/myjdbc/jdbc-authentication-context.xml zylk@alf:/opt/alfresco34/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/jdbc/myjdbc/jdbc-authentication.properties &lt;/CODE&gt; In alfresco-global.properties, an example of authentication chain can be: &lt;CODE&gt; authentication.chain=alfrescoNtlm1:alfrescoNtlm,myldap:ldap,myjdbc:jdbc &lt;/CODE&gt; It is important to note that the other CIFS-able subsystems must be deactivated (only one of the subsystems can use CIFS - in fact the first one in the chain). In alfresco-global.properties &lt;CODE&gt; alfresco.authentication.authenticateCIFS=false passthru.authentication.authenticateCIFS=false &lt;/CODE&gt; An example of custom properties are: &lt;CODE&gt; jdbc.driver=org.gjt.mm.mysql.Driver jdbc.username=root jdbc.password=secret jdbc.name=mydb jdbc.url=jdbc:mysql://localhost:3306/mydb jdbc.query=SELECT password FROM myusers WHERE id='{1}' # Default administrators jdbc.authentication.defaultAdministratorUserNames=zylk,mysql # CIFS # If jdbc.authentication.cifs.active = true set jdbc.authentication.password.type = md4 jdbc.authentication.cifs.active=true # Password storage / encryption type in DB: plain|md5|md4|DES|jcrypt jdbc.authentication.password.type=md4 &lt;/CODE&gt; And finally, restart your Alfresco instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 19.5066%;"&gt;&lt;/TH&gt;&lt;TH style="width: 78.7972%;"&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Owner&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;B&gt;Will Abson&lt;/B&gt;‌&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Versions&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;P&gt;Community 3.3.x&lt;/P&gt;&lt;P&gt;Community 3.4.x&lt;/P&gt;&lt;P&gt;Community 4.0.x&lt;/P&gt;&lt;P&gt;Enterprise 3.3.x&lt;/P&gt;&lt;P&gt;Enterprise 3.4.x&lt;/P&gt;&lt;P&gt;Enterprise 4.0.x&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;License Type&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Proprietary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Project Page&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;A class="link-titled" href="http://www.zylk.net/web/guest/web-2-0/blog/-/blogs/alfresco-custom-jdbc-authentication-addon" title="http://www.zylk.net/web/guest/web-2-0/blog/-/blogs/alfresco-custom-jdbc-authentication-addon" rel="nofollow noopener noreferrer"&gt;- Alfresco custom JDBC authentication addon - zylk&lt;/A&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Download Page&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;A class="link-titled" href="http://www.zylk.net/en/web/guest/alfresco-form" title="http://www.zylk.net/en/web/guest/alfresco-form" rel="nofollow noopener noreferrer"&gt;Contact - zylk&lt;/A&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Tags&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;zylk.net, authenticator, cifs, jDBC, subsystem&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Component Type&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Integration&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Extension Points&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Authenticator&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Installation&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;AMP, Manual&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Products&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Repository&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 00:38:48 GMT</pubDate>
    <dc:creator>alfresco</dc:creator>
    <dc:date>2018-06-14T00:38:48Z</dc:date>
    <item>
      <title>Alfresco Custom JDBC Authenticator</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-jdbc-authenticator/m-p/2842#M798</link>
      <description>It is designed for users integration between an Alfresco repository and a custom application. You can use it with any type of database (mysql, postgresql, oracle....) with its corresponding jdbc driver and it is fully customizable through authentication properties. You can also use CIFS with this au</description>
      <pubDate>Thu, 14 Jun 2018 00:38:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-custom-jdbc-authenticator/m-p/2842#M798</guid>
      <dc:creator>alfresco</dc:creator>
      <dc:date>2018-06-14T00:38:48Z</dc:date>
    </item>
  </channel>
</rss>

