5.3.3.2 Description
The implemented function has the capability to determine authorization credentials (usernames and passwords) used for authorizing users with a given Oracle Tuxedo uid and gid for a given domain and realm.
The input parameters, char * domain and char * realm
, represent the domain name and HTTP Realm that the Web service belongs to. The plug-in code must use them to determine the scope to find appropriate credentials.
The input parameters, char * t_uid
and char * t_gid
, are strings that contain Oracle Tuxedo user ID and group ID number values respectively. These two parameters may be used to find the username.
The output parameter, Cred_UserPass * credential
,
is a pointer that indicates a pre-allocated buffer storing the
returned username/password. The plug-in code is not responsible for
allocating the buffer.
Note:
Oracle Tuxedo user ID is available only when *SECURITY
is set as USER_AUTH
or higher in the UBBCONFIG
file. Group ID is available when *SECURITY
is set as ACL or higher. The default is “0
”.
Parent topic: Mapping the Oracle Tuxedo UID and HTTP Username