<?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 Replacing ACT_ID_USER table in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43399#M23649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to get a push to the right direction. What i'm trying to achieve is to customize activiti to use my own users table instead of the default ACT_ID_USER table. My question is around how far in customizing everything should I go?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been thinking to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. replace mappings.xml (and initializing this from custom configuration class extending StandaloneProcessEngineConfiguration) to include my own SQL for User.xml entity, and pretty much keeping everything else as they are&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. replace mappings.xml to include my own entity called the Identity.xml for a new IdentityEntity class (implementing User and PersistentObject) and then extend UserManager with my own code that works with the IdentityEntity instances&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. replace mappings.xml to include my own entity together with my own IdentityEntity class but instead of extending UserManager I would create a new IdentityManager that extends AbstractManager (to get my own api more aligned with my DB table). This option means that I also need to extend IdentityServiceImpl and many of the commands to reflect the new IdentityManager class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. do one of the above, but not mess with mappings.xml and custom configuration class that initializes the sqlSessionFactory – dunno what would be a good alternative though&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So which way should I go? Would option #3 even work? Any other suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched the forums and modifying mappings.xml is not mentioned, only changing the UserManager. However, I see this as the only way to go if I want to reuse the DB session and use my own tables to do the queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 11:37:14 GMT</pubDate>
    <dc:creator>wesley</dc:creator>
    <dc:date>2011-08-09T11:37:14Z</dc:date>
    <item>
      <title>Replacing ACT_ID_USER table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43399#M23649</link>
      <description>I'd like to get a push to the right direction. What i'm trying to achieve is to customize activiti to use my own users table instead of the default ACT_ID_USER table. My question is around how far in customizing everything should I go?I've been thinking to1. replace mappings.xml (and initializing th</description>
      <pubDate>Tue, 09 Aug 2011 11:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43399#M23649</guid>
      <dc:creator>wesley</dc:creator>
      <dc:date>2011-08-09T11:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing ACT_ID_USER table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43400#M23650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The best way to do it, is to write your own implementation of User/GroupManager, and inject them into the Activiti engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, you can simply delete the ACT_ID tables.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 12:53:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43400#M23650</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-10T12:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing ACT_ID_USER table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43401#M23651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So what you are suggesting is the #2 without modifications to mappings.xml. How can I then create the DB queries by reusing the ibatis sql session that Activiti uses to the same database in order to query my own tables? Or do I need to create another sql session for my own queries and use my own mappings.xml for my own entities? Or another solution altogether?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 07:10:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43401#M23651</guid>
      <dc:creator>wesley</dc:creator>
      <dc:date>2011-08-11T07:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing ACT_ID_USER table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43402#M23652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you plug in your own impl of the managers, you can do whatever you want: ibatis, jpa, plain jdbc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take what is the easiest for you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:50:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replacing-act-id-user-table/m-p/43402#M23652</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-11T09:50:02Z</dc:date>
    </item>
  </channel>
</rss>

