How to start an external process on behalf of another user ?

Posted by Samuel ETTERLEN on 03-Oct-2016 04:39

Hi there,

I need to start a Java process from the backend (PASOE or WebSpeed app.) using the credentials of the client user.
This java Process print a PDF file given as parameter.
My goal is to start this Print Job with the username who logged in on the frontend.

The only way I found to start the Java Process with the good credentials is to invoke a Windows DLL named "CreateProcessWithLogonW" , but the big inconvenience is that the password must be given as parameter in plain text. 

Is there an other way to start this external process using the client-principal credentials ?

All Replies

This thread is closed