A trusted context is a database object that defines a trust relationship for a connection between the database and an external entity such as a middle-tier application server (for example, the IBM WebSphere Application Server). The trust relationship is built based on the following set of attributes:
- Authorization ID: Identifies the user who establishes a connection to the database
- IP address or domain name: Identifies the host name from which a database connection is established to the database server
- Data stream encryption: Identifies the data stream's minimum level of encryption between the database server and the client
A person holding SECADM authority can create a trusted context by using the CREATE TRUSTED CONTEXT statement. The basic syntax is:
CREATE TRUSTED CONTEXT <ContextName>
BASED ON CONNECTION USING SYSTEM...