+

Search Tips   |   Advanced Search

Enable trusted context for DB2 databases

Enable trusted context in the applications to improve how the application server interacts with DB2 database servers. Use trusted connections to preserve the identity records of clients that are connecting to a DB2 database through the applications; trusted connections can provide a more secure environment by granting access based on the identity of those users.

Ensure that the following prerequisites are met before enabling trusted connections:

With trusted connections we can:

Non-trusted connections cannot be used as trusted connections. If the connection pool contains only non-trusted connections and a request comes in for a trusted connection, a new request will be sent to the database for the trusted connection.


Tasks

Enable trusted context for the applications.


What to do next

Be aware of the following error conditions that can occur if trusted context is not configured properly:


Subtopics


Related:

  • Data sources
  • JDBC providers
  • (ZOS) Use thread identity support
  • Use the DB2 Universal JDBC Driver to access DB2 for z/OS
  • Hardware and software requirements
  • Set up, enabling and migrating security