<?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 Activiti and JHIpster issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228883#M182013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We want to use the Activiti integrated with JHipster. JHipster uses JHI_USERS table for the authentication. When activiti is configured with JHipster spring-boot ACT_USER takes precedence over the user table failing the default authentication. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We want to achieve that Activiti should be used with anonymous user credentials which the JHipster is authenticated with the default one. Can someone help us out how to configure Activiti to use its table and not override the default Jhipster authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 11:37:00 GMT</pubDate>
    <dc:creator>darshan_hardas</dc:creator>
    <dc:date>2016-01-06T11:37:00Z</dc:date>
    <item>
      <title>Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228883#M182013</link>
      <description>We want to use the Activiti integrated with JHipster. JHipster uses JHI_USERS table for the authentication. When activiti is configured with JHipster spring-boot ACT_USER takes precedence over the user table failing the default authentication. We want to achieve that Activiti should be used with ano</description>
      <pubDate>Wed, 06 Jan 2016 11:37:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228883#M182013</guid>
      <dc:creator>darshan_hardas</dc:creator>
      <dc:date>2016-01-06T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228884#M182014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure what you want to achieve here? Do you want the UI of Activiti integrated in there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, then we're talking about regular Activiti - Spring Boot integration. Activiti does not mandate any authentication itself, so you should not have problems there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 11:55:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228884#M182014</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-07T11:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228885#M182015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct. JHipster internally uses spring boot.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The activiti integration has been done using this link &lt;/SPAN&gt;&lt;A href="https://spring.io/blog/2015/03/08/getting-started-with-activiti-and-spring-boot" rel="nofollow noopener noreferrer"&gt;https://spring.io/blog/2015/03/08/getting-started-with-activiti-and-spring-boot&lt;/A&gt;&lt;SPAN&gt;. We are not trying to integrate the UI here. Just Activiti with Spring boot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The activiti is initialized but now when the default login is used (given by default in jhipster), it fires an activiti query to check that in ACT_ID_USER table. Attaching the logs from the app&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 15:34:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228885#M182015</guid>
      <dc:creator>darshan_hardas</dc:creator>
      <dc:date>2016-01-07T15:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228886#M182016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From what I can see from the logs, the query simply returns no results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2016-01-07 20:45:49.790 DEBUG 5308 — [nio-8078-exec-3] o.a.e.i.p.e.U.selectUserByQueryCriteria&amp;nbsp; : ==&amp;gt;&amp;nbsp; Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_ID_USER RES WHERE RES.ID_ = ? order by RES.ID_ asc ) a where ROWNUM &amp;lt; ?) where rnum &amp;gt;= ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2016-01-07 20:45:49.790 DEBUG 5308 — [nio-8078-exec-3] o.a.e.i.p.e.U.selectUserByQueryCriteria&amp;nbsp; : ==&amp;gt; Parameters: admin(String), 2147483647(Integer), 1(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2016-01-07 20:45:50.046 DEBUG 5308 — [nio-8078-exec-3] o.a.e.i.p.e.U.selectUserByQueryCriteria&amp;nbsp; : &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which means that either the query is wrong or no data is in the table&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 20:51:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228886#M182016</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-20T20:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228887#M182017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jhipster creates some table for users and authentication (prefix with jhi_) like activiti (ACT_). We have created a sample project with jhipster and configured the mysql server with it. The application comes up and the default admin pages with authentication and metrics can be accessible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when we integrate activiti in pom.xml, spring-boot-starter-basic in dependencies and do the mvn build, application comes up but authentication does not work here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steps to reproduce:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Create directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Create a jhipster project : yo jhipster &amp;lt;sample&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Select DB as mysql/oracle by modifying application-dev.yml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Build the project using 'mvn' and launch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Close the application, add activiti dependency&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Again build and launch with mvn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application provided login does not work and metrics, api documentation cannot be accessible&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached the whole jhipster project (zip renamed to txt) with activiti configured. Might have to run the npm install to get the npm modules installed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 11:18:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228887#M182017</guid>
      <dc:creator>darshan_hardas</dc:creator>
      <dc:date>2016-02-22T11:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228888#M182018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone suggests any solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:50:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228888#M182018</guid>
      <dc:creator>darshan_hardas</dc:creator>
      <dc:date>2016-03-01T11:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228889#M182019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Apparently, the following two lines in "&amp;lt;Your&amp;gt;App.java" will do the trick!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.spring.boot.SecurityAutoConfiguration;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@EnableAutoConfiguration(exclude = { SecurityAutoConfiguration.class })&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It'll prevent Activiti from adding its own IdentityService to Spring Security.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 12:17:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228889#M182019</guid>
      <dc:creator>paolog</dc:creator>
      <dc:date>2016-04-08T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228890#M182020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks paolog! It works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:23:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228890#M182020</guid>
      <dc:creator>allas</dc:creator>
      <dc:date>2016-06-22T10:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JHIpster issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228891#M182021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have checked this after much of a gap.... the solution works...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a ton&amp;nbsp;&lt;SPAN class="" style="color: #8bc34a; background-color: #ffffff; border: 0px; font-weight: 500; font-size: 10.9998px;"&gt;&lt;A _jive_internal="true" class="" data-userid="158727" data-username="paolog" href="https://community.alfresco.com/people/paolog" style="color: #8bc34a; border: 0px; font-weight: 200; font-size: 1.286rem;" rel="nofollow noopener noreferrer"&gt;paolog _&lt;/A&gt;&amp;nbsp;!!!&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.alfresco.com/thread/225380-activiti-and-jhipster-issue#comment-798829" style="color: #8bc34a; background-color: #ffffff; border: 0px; font-weight: 500; font-size: 10.9998px;" rel="nofollow noopener noreferrer"&gt;Activiti and JHIpster issue&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Dec 2016 13:25:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jhipster-issue/m-p/228891#M182021</guid>
      <dc:creator>darshan_hardas</dc:creator>
      <dc:date>2016-12-25T13:25:13Z</dc:date>
    </item>
  </channel>
</rss>

