<?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 Activiti with Springboot in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-activiti-with-springboot/m-p/38010#M16030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Alfresco Activiti enterprise installed. I want to access the workflow from my springboot application like start a workflow, approve, reject, etc. I am using REST calls to fetch the data from Activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My springboot app will not have any user database as it is completely depend on the Activiti. So once user provide username and password he/she will be authenticated against the Activiti.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below link for login with spring RestTemplate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:9091/activiti-app/app/authentication/?j_username=admin@app.activiti.com&amp;amp;j_password=admin&amp;amp;_spring_security_remember_me=true&amp;amp;submit=Login" title="http://localhost:9091/activiti-app/app/authentication/?j_username=admin@app.activiti.com&amp;amp;j_password=admin&amp;amp;_spring_security_remember_me=true&amp;amp;submit=Login" rel="nofollow noopener noreferrer"&gt;http://localhost:9091/activiti-app/app/authentication/?j_username=admin@app.activiti.com&amp;amp;j_password=admin&amp;amp;_spring_securi…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the response like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Login REST call response" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/15125_I8IIW.png" style="width: 620px; height: 256px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am not sure how to use these headers for the next call in order to get the secured REST endpoints of Activiti?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because when I am trying to access any other endpoints, it says Authentication exception...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 17:16:35 GMT</pubDate>
    <dc:creator>signjoy</dc:creator>
    <dc:date>2017-07-20T17:16:35Z</dc:date>
    <item>
      <title>Alfresco Activiti with Springboot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-activiti-with-springboot/m-p/38010#M16030</link>
      <description>Hello,We have Alfresco Activiti enterprise installed. I want to access the workflow from my springboot application like start a workflow, approve, reject, etc. I am using REST calls to fetch the data from Activiti.My springboot app will not have any user database as it is completely depend on the Ac</description>
      <pubDate>Thu, 20 Jul 2017 17:16:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-activiti-with-springboot/m-p/38010#M16030</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2017-07-20T17:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Activiti with Springboot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-activiti-with-springboot/m-p/38011#M16031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess this question&amp;nbsp;turned out to be linked with&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/232562"&gt;Start a process instance using REST&lt;/A&gt;&amp;nbsp;. Looks like you're using basic authentication and so need to supply the user credentials in the request (rather than obtain an access token) and the answer on the other thread shows how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:53:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-activiti-with-springboot/m-p/38011#M16031</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2017-12-06T10:53:40Z</dc:date>
    </item>
  </channel>
</rss>

