Byzantine Askemos Language Layer

ManTrustedCode :: pdf :: context view

inbound links:
Example

Special services, e. g., to access email, EDI, HBCI etc.

These services are defined at system startup by entries in a table at the place configured in $trustedcode-oid.

The place holds a table (in HTML syntax) with an id attribute value of TrustedCode. Each line (tr element) enables one trusted code function. The first cell hold the OID of the only place, which is allowed to execute the code. The second cell contains the name of the function to enable. The third cell is either the literal read or write and defines whether the function can be called from within a transaction (write operation) only or also from read operations.

Those places allowed to executed the code can return an additional element in their reply (see core api). This new element has an gi of TrustedCode and a name attribute equal to the configured service.

Example

Definition table at $trustedcode-oid

<table border="1" id="TrustedCode">
  <tr>
   <td>OID</td>
   <td>sendmail</td>
   <td>write</td>
  </tr>
 </table>

Beware: there must not be any space characters in the table cells. They don't harm, but disturb the operation (no effect anymore).

Application at OID

To invoke a service the reply element must contain a child like this:

<reply xmlns="mind">
 <TrustedCode name="sendmail">
...
 </TrustedCode>
</reply>

Last modification: Sun, 26 Dec 2010 13:30:06 +0100

Author(s): jfw,

Document number A26b5619be8d5e3348cca356acfc8efea delivered to public at Sat, 25 Nov 2017 00:18:10 +0100

short comments

add comment