Jopaz 1.2.0 | Jopaz for Db2 | Executing Applications with Db2 Access
 
Executing Applications with Db2 Access
 
Authentication Using a Trusted Context
Authentication Using a Username and Password
To execute Jopaz-translated COBOL programs containing Db2 instructions, you must decide how to authenticate your applications against the Db2 database.
The default option is to create a trusted context and to establish a trusted connection. With a trusted context, connections from certain users or applications are allowed to bypass conventional user authentication like password-based authentication because of a trusted relationship between the client and the database.
The second option is to verify yourself against the database using conventional user authentication. To do this, the correct password must be stored in the Jopaz configuration and the user must have authorization on the Db2 database to be able to carry out the operations.