As a developer who is developing REST API service, I want to run Java code under the same user ID the s user using REST API, so that the code can access mainframe resources only accessible by that user without the need to setup PassTickets.
Original acceptance criteria:
It is possible to run some Java code under the mainframe security environment for the user that is authenticated to the REST API
This is done without requiring PassTickets to be set up by leveraging pthread_security_applid_np() function with function code __DAEMON_SECURITY_ENV that requires permission to BPX.DAEMON
It requires being executed on z/OS, on PC or Mac a dummy implementation can be used
Migrate the code for security context switching on z/OS
Depends on #4
The original source code has been added by https://github.gwd.broadcom.net/MFD/ca-sample-restapi-service/pull/28
As a developer who is developing REST API service, I want to run Java code under the same user ID the s user using REST API, so that the code can access mainframe resources only accessible by that user without the need to setup PassTickets.
Original acceptance criteria:
pthread_security_applid_np()
function with function code__DAEMON_SECURITY_ENV
that requires permission toBPX.DAEMON