<?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: How can i customize ACT_ID_USER table? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24071#M10481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Ryan suggested above you can&amp;nbsp; extend UserEntity manager and&amp;nbsp;create your own&amp;nbsp;&amp;nbsp;&amp;nbsp;provider which can look into your table and provide user info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;org.activiti.engine.impl.persistence.entity.UserEntityManager&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public class &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManager &lt;SPAN style="color: #000080; font-weight: bold;"&gt;extends &lt;/SPAN&gt;UserEntityManager{&lt;BR /&gt;//Your implementation by going through your user table&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then create a factory implementation like this&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public class &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManagerFactory &lt;SPAN style="color: #000080; font-weight: bold;"&gt;implements &lt;/SPAN&gt;SessionFactory {&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public &lt;/SPAN&gt;Class&amp;lt;?&amp;gt; getSessionType() {&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &lt;/SPAN&gt;UserIdentityManager.&lt;SPAN style="color: #000080; font-weight: bold;"&gt;class&lt;/SPAN&gt;;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public &lt;/SPAN&gt;Session openSession() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomUserEntityManager aUserEntityManager = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManager();&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &lt;/SPAN&gt;(Session) aUserEntityManager;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and then can inject this is process configuration using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;processEngineConfiguration.setCustomSessionFactories(customSessionFactory)&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Vishal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Dec 2017 08:27:43 GMT</pubDate>
    <dc:creator>vgaur</dc:creator>
    <dc:date>2017-12-10T08:27:43Z</dc:date>
    <item>
      <title>How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24063#M10473</link>
      <description>Hi Team,&amp;nbsp; &amp;nbsp; &amp;nbsp;I am using activiti process in my spring project. In my spring project already i have users table but activiti given&amp;nbsp;ACT_ID_USER table. is it possible to use my spring table instead of&amp;nbsp;ACT_ID_USER?if not possilbe i will maintain both tables. any solution for this?</description>
      <pubDate>Wed, 27 Sep 2017 07:22:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24063#M10473</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-09-27T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24064#M10474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do not use LDAP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:41:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24064#M10474</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2017-09-27T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24065#M10475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. please share any link about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:03:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24065#M10475</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-09-28T05:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24066#M10476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Install OpenLDAP or other&lt;/P&gt;&lt;P&gt;2. Create your users in this ldap with fields as you need (schemas)&lt;/P&gt;&lt;P&gt;2. Configure your Activiti for autentication in ldap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One tutorial for config for Activiti in LDAP by Thys Michels:&amp;nbsp;&lt;A class="link-titled" href="https://thysmichels.com/2014/05/25/activiti-bpm-tutorial-ldap/" title="https://thysmichels.com/2014/05/25/activiti-bpm-tutorial-ldap/" rel="nofollow noopener noreferrer"&gt;Activiti BPM Tutorial – LDAP | Thys Michels Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 07:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24066#M10476</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2017-09-28T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24067#M10477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. it is not full fill my requirement. I am using spring security and created my own mysql user table. is there any possibility to use my own mysql user table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 10:02:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24067#M10477</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-09-28T10:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24068#M10478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think is very hard but if you modify the Activiti users table and appended new fields... the problem is recover this information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 10:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24068#M10478</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2017-09-28T10:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24069#M10479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, for the sake of security, the database of my company disable all the adhoc query and only support procedure.In this state, is the only way to rewrite all the service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24069#M10479</guid>
      <dc:creator>richard9527</dc:creator>
      <dc:date>2017-10-26T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24070#M10480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you're using v5 or v6. You could consider implementing a custom IdentityService - see&amp;nbsp;&lt;A class="link-titled" href="https://blog.canang.com.my/2016/05/12/custom-identityservice/" title="https://blog.canang.com.my/2016/05/12/custom-identityservice/" rel="nofollow noopener noreferrer"&gt;https://blog.canang.com.my/2016/05/12/custom-identityservice/&lt;/A&gt;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="https://github.com/qbast/activiti-keycloak" title="https://github.com/qbast/activiti-keycloak" rel="nofollow noopener noreferrer"&gt;GitHub - qbast/activiti-keycloak: Integration of activiti users and groups with keycloak&lt;/A&gt;&amp;nbsp;.&amp;nbsp;That is suggested in&amp;nbsp;&lt;A __default_attr="221547" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/221547-integrating-user-information-of-activiti-with-external-table-instead-actiduser" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;, which seems to be much the same question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24070#M10480</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2017-12-06T10:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can i customize ACT_ID_USER table?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24071#M10481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Ryan suggested above you can&amp;nbsp; extend UserEntity manager and&amp;nbsp;create your own&amp;nbsp;&amp;nbsp;&amp;nbsp;provider which can look into your table and provide user info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;org.activiti.engine.impl.persistence.entity.UserEntityManager&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public class &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManager &lt;SPAN style="color: #000080; font-weight: bold;"&gt;extends &lt;/SPAN&gt;UserEntityManager{&lt;BR /&gt;//Your implementation by going through your user table&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then create a factory implementation like this&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public class &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManagerFactory &lt;SPAN style="color: #000080; font-weight: bold;"&gt;implements &lt;/SPAN&gt;SessionFactory {&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public &lt;/SPAN&gt;Class&amp;lt;?&amp;gt; getSessionType() {&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &lt;/SPAN&gt;UserIdentityManager.&lt;SPAN style="color: #000080; font-weight: bold;"&gt;class&lt;/SPAN&gt;;&lt;SPAN style="color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public &lt;/SPAN&gt;Session openSession() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomUserEntityManager aUserEntityManager = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Custom&lt;/SPAN&gt;UserEntityManager();&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &lt;/SPAN&gt;(Session) aUserEntityManager;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and then can inject this is process configuration using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;processEngineConfiguration.setCustomSessionFactories(customSessionFactory)&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Vishal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 08:27:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-customize-act-id-user-table/m-p/24071#M10481</guid>
      <dc:creator>vgaur</dc:creator>
      <dc:date>2017-12-10T08:27:43Z</dc:date>
    </item>
  </channel>
</rss>

