XPages xAgent Security

I am currently using the multi-task OpenNTF bootloader from Mark Leusink.

This very convenient user control uses xAgent to embed the selected file attachment in the target Notes document. Everything worked fine until I added the Authors and Readers field to Notes documents. Now I get a security error (402) when downloading a file.

My thought: Upload xAgent cannot edit the target document to attach the file. If I remove the security fields, everything will work again.

My question is: are xAgents running with the same security as the current user? If not, can I set the “run as” user for xAgent, how can I, for the Lotus Script agent?

+3
source share
3

xAgent sessionAsSigner / . , , .

+5

Tom Declan , .

Flash ( SWFUpload). cookie Flash, cookie , , Domino, , , nog ( ). , / ACL, XPage/XAgent, (aUpload.xsp), " ". sessionAsSigner

. : XPage . XPage (aGetAuth.xsp) . . .

, , XUgent aUpload.xsp sessionAsSigner.

+2

, , .

xAgent **aGetAuth.xsp**, sessionAsSigner, . "sessionAsSigner not found".

Google showed that the quick answer was to re-sign the template before testing. After re-signing the template twice, and pre-preparing the “clean”, everything works brilliantly.

0
source

All Articles