<?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: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187074#M140204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Basically I want to implement authorization methods with command interceptors. This is a complex task, where the authorization rules would be defined in the bpmn. Use-cases would be: read-write permission on process variable; task/process listing restriction; task completion restriction etc… For this I need information from the command, but now the only way to get the for example the execution id from the command is to use reflection which is slower than direct access.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Jan 2015 12:20:36 GMT</pubDate>
    <dc:creator>pkonyves</dc:creator>
    <dc:date>2015-01-17T12:20:36Z</dc:date>
    <item>
      <title>Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187072#M140202</link>
      <description>Hi there,Would it be possible to make fields in Commands (e.g. SetExecutionVariablesCmd) package private? I think Activiti has a great design with the Command pattern with it's interceptors, it is suitable to change/enforce business logic rules in a low level with interceptors, but every case is uni</description>
      <pubDate>Fri, 16 Jan 2015 13:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187072#M140202</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-01-16T13:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187073#M140203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have the policy to make all our fields protected. Isn't that enough in case you want to override?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not following your use case yet. What use case might you have that would need that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187073#M140203</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-01-16T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187074#M140204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Basically I want to implement authorization methods with command interceptors. This is a complex task, where the authorization rules would be defined in the bpmn. Use-cases would be: read-write permission on process variable; task/process listing restriction; task completion restriction etc… For this I need information from the command, but now the only way to get the for example the execution id from the command is to use reflection which is slower than direct access.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 12:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187074#M140204</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-01-17T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187075#M140205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The main problem is that today is really easy to do anything via the rest interface, and right now I don't know how it is solved in e.g. Alfresco Activiti, I suspect it is not solved, which is a real security concern.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 12:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187075#M140205</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-01-17T12:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187076#M140206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;basic java: the protected access modifier includes package private.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 12:25:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187076#M140206</guid>
      <dc:creator>k5_</dc:creator>
      <dc:date>2015-01-17T12:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187077#M140207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I just failed as a Java developer damn it.. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 12:30:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187077#M140207</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-01-17T12:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187078#M140208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; which is a real security concern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm interested why you say that. I don't see how that can be a security concern.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:04:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187078#M140208</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-01-21T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187079#M140209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I might miss something from the big picture, but as far as I know, if a user is allowed to access the REST interface, can basically do any operations on it. So if a single page web application uses the Activiti REST interface directly, a logged in user can access or even change information in e.g. process variables that he should not see. For example employees should not be able to see company management decisions/processes. Not mentioning starting and cancelling processes or accessing the repository API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is what I want to solve.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 13:49:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187079#M140209</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-01-21T13:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187080#M140210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No sure, i can see that. But that needs to be solved by real security checks AROUND the rest calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Making a method public/protected/private/whatever has no impact at all on that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:08:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187080#M140210</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-09T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making public accessors for fields of org.activiti.engine.impl.cmd.Command impls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187081#M140211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I know, method visibility has no impact on security, is part of creating a solution. However as K5_ already mentioned protected is also package-private, so I can access the fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to create the solution in the BLL, not in the rest layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 07:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-public-accessors-for-fields-of-org-activiti-engine-impl/m-p/187081#M140211</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2015-02-10T07:41:01Z</dc:date>
    </item>
  </channel>
</rss>

