TPCHKAUTH-check if authentication required to join a BEA TUXEDO system application
01TPAUTDEF-REC.
COPY TPAUTDEF.
01TPSTATUS-REC.
COPY TPSTATUS.
CALL "TPCHKAUTH" USINGTPAUTDEF-RECTPSTATUS-REC.
TPCHKAUTH checks if authentication is required by the application configuration. This is typically used by application clients prior to calling TPINITIALIZE() to determine if a password should be obtained from the user.
Upon successful completion, TPCHKAUTH sets TP-STATUS to [TPOK] and sets one of the following values in TPAUTDEF-REC.
TPNOAUTH
TPSYSAUTH
TPAPPAUTH
Under the following conditions, TPCHKAUTH fails and sets TP-STATUS to:
TPESYSTEM]
TPEOS]
The interfaces described in TPCHKAUTH() are supported on UNIX System and MS-DOS operating systems. However, signal-based notification is not supported on MS-DOS. If it is selected at TPCHKAUTH() time, then a USERLOG() message is generated and the method is automatically set to dip-in.
TPINITIALIZE()