svn commit: r1735441 - /ofbiz/trunk/framework/service/dtd/service-eca.xsd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1735441 - /ofbiz/trunk/framework/service/dtd/service-eca.xsd

jacopoc
Author: jacopoc
Date: Thu Mar 17 15:00:47 2016
New Revision: 1735441

URL: http://svn.apache.org/viewvc?rev=1735441&view=rev
Log:
Improved the documentation about the purpose and behavior of the "auth" and "in-validate" secas events.

Modified:
    ofbiz/trunk/framework/service/dtd/service-eca.xsd

Modified: ofbiz/trunk/framework/service/dtd/service-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/service-eca.xsd?rev=1735441&r1=1735440&r2=1735441&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/dtd/service-eca.xsd (original)
+++ ofbiz/trunk/framework/service/dtd/service-eca.xsd Thu Mar 17 15:00:47 2016
@@ -49,8 +49,8 @@ under the License.
                     <xs:enumeration value="global-commit"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is successfully committed.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="global-commit-post-run"><xs:annotation><xs:documentation>Like global-commit, but gets its context post/after the run of the service and all non-global ECA rules.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="global-rollback"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is rolled back.</xs:documentation></xs:annotation></xs:enumeration>
-                    <xs:enumeration value="auth"/>
-                    <xs:enumeration value="in-validate"/>
+                    <xs:enumeration value="auth"><xs:annotation><xs:documentation>Runs before the user is authenticated. Note that when the service to which the eca is associated is executed asynchronously this event occurs at least two times (at the time of the call and at the time of the execution). For this reason it is only safe to use this event to call services that don't change the status of any system.</xs:documentation></xs:annotation></xs:enumeration>
+                    <xs:enumeration value="in-validate"><xs:annotation><xs:documentation>Runs before the input parameters are validated. Note that when the service to which the eca is associated is executed asynchronously this event occurs at least two times (at the time of the call and at the time of the execution). For this reason it is only safe to use this event to call services that don't change the status of any system.</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="out-validate"/>
                     <xs:enumeration value="invoke"/>
                     <xs:enumeration value="commit"/>