How Do I Get The Username Of A Client Tuxedo In The Service Called? (Doc ID 1361508.1)

Last updated on SEPTEMBER 29, 2011

Applies to:

Oracle Tuxedo - Version: 10.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Goal

How to obtain username of WS Client connected to Tuxedo Server in the Service called ?

Background:
Customer is migrating Tuxedo application.
The server implements MANDATORY_ACL security.

In service that is called from WS client, username of client is needed to be passed to database.

Already tried in the service:
printf ("Identification of the user: appkey :%d cltid %s \n", rqst->appkey, rqst->cltid);

But, the output is a number for appkey and the service name for cltid
(Identification of the user: appkey :131075 cltid SvcConsultadS)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms