Trusted connections
A trusted connection is a database connection that is established when the connection attributes match those of a trusted context that is defined at the server. A trusted connection can be established locally or at a remote location.
A trusted context allows you to establish a trusted relationship between Db2 and an external entity, such as a middleware server. Db2 evaluates a series of trust attributes to determine if a specific context is to be trusted. Currently, the only attribute that Db2 considers is the database connection. The relationship between a connection and a trusted context is established when the connection to the server is first created, and that relationship remains as long as that connection exists.