<?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 Rest Security - Where is it being used? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-security-where-is-it-being-used/m-p/233002#M186132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've seen other posts and also dug through the activiti-rest, common, and activiti-spring-boot modules. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe I understand how to customize the security.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I don't understand is WHERE the security is being used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* I don't see any sort of identityService.setAuthenticatedUser… around any of the Spring MVC rest controllers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* There is a dependency on Spring Security. But I don't see any refererences to SecurityContextHolder…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Can't find any use of ServletRequest.getUserPrincipal or similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless I'm missing something, it seems you've forced authentication on the rest urls, but never actually do anything with the current user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that's the case, how does the process engine know which user is currently making calls?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 16:10:29 GMT</pubDate>
    <dc:creator>stbill79</dc:creator>
    <dc:date>2016-03-22T16:10:29Z</dc:date>
    <item>
      <title>Activiti Rest Security - Where is it being used?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-security-where-is-it-being-used/m-p/233002#M186132</link>
      <description>I've seen other posts and also dug through the activiti-rest, common, and activiti-spring-boot modules. I believe I understand how to customize the security.What I don't understand is WHERE the security is being used. * I don't see any sort of identityService.setAuthenticatedUser… around any of the</description>
      <pubDate>Tue, 22 Mar 2016 16:10:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-security-where-is-it-being-used/m-p/233002#M186132</guid>
      <dc:creator>stbill79</dc:creator>
      <dc:date>2016-03-22T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Rest Security - Where is it being used?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-security-where-is-it-being-used/m-p/233003#M186133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti does not have any security / permissioning built in. So for the engine setting setAuthenticatedUSer is enough to fill the audit daa properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When integrating with Activiti, you would have to add that yourself. For example, you can add LDAP authentication to your app with Spring Security, and set the authenticated user after a successful login.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 12:54:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-security-where-is-it-being-used/m-p/233003#M186133</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-25T12:54:33Z</dc:date>
    </item>
  </channel>
</rss>

