HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
Concepts
Overview of Conversation Security
Chapter 1 55
• If the program specifying “already verified” was itself invoked by
another program, as described in “Conversation Security for Multiple
Conversations”, CPI-C sends the user ID from the current
conversation context.
• Otherwise, CPI-C takes the HP-UX user name with which the
program is running, truncated to 10 characters if necessary, and uses
this as the conversation security user ID. Ensure that this name
consists of valid AE-string characters and is a valid user name for
the program being invoked.
• If the application uses a different method of obtaining the security
information (for example, if it requires the user to specify a user ID
and password explicitly, rather than relying on the HP-UX system
security), then it can use either of the CPI-C functions
Set_Conversation_Security_User_ID or Set_CPIC_Side_Information
to specify this
user_id
to CPI-C before allocating the conversation.
End of Section