after the application has established a trusted connection with the db2 server, the application may switch users associated with the trusted context object in the backend.
在应用程序已经建立与db2服务器的连接之后,应用程序可以在后端切换与受信任上下文相关联的用户。
an implicit trusted connection is one that is not explicitly requested by the user.
隐式可信连接是用户隐式请求的连接。
however, an implicit trusted connection cannot be reused by switching users.
但是,隐式可信连接不能供切换用户重用。
the first federated request issued by bob that accesses the remote db2 data source causes the outbound trusted connection user id to also get switched to bob.
bob发出第一个联合请求(即访问远程db2数据源)时,出站可信连接用户id也切换为bob。
after the trusted connection has been established, the application can then switch the user to an allowed user defined in the trusted context.
在建立受信任连接之后,应用程序将用户切换到受信任上下文中定义的允许的用户。
trusted connection in cli application
cli应用程序中的受信任连接
explicit trusted connections can only be requested from apis that support trusted connection requests (namely, cli, odbc, jdbc, and xa).
显式可信连接只能通过支持可信连接请求的api(即cli、odbc、jdbc和xa )进行请求。
the explicit trusted connection is established under the identity of the application user app_user.
将在应用程序用户 app_user的身份下建立显式的可信连接。
when the properties are met, a trusted connection is allowed.
当属性满足时,就允许可信任上下文。
the application user can now use this trusted connection to perform some initial configuration tasks and prepare the environment for the end users.
应用程序用户现在可以使用该可信连接执行一些初始配置任务并为最终用户準备好环境。
in this example, the existence of this trusted connection might be sufficient proof.
在本例中,此可靠连接的存在可作为确凿的证据。
a trusted connection allows the initiator of that connection to acquire additional capabilities that are not available to them outside the scope of that trusted connection.
可信连接允许连接发起人获得那个可信连接之外、没有提供给他们的附加能力。
switch user on the end-to-end federated trusted connection
切换端到端的联合可信连接上的用户
an implicit trusted connection allows the initiator of such a trusted connection to acquire additional privileges that may not be available to them otherwise.
隐式可信连接允许连接发起人获得其他情况下无法获得的其他权限。
when a request for an explicit end-to-end federated trusted connection fails, warning sql20360w is returned.
当请求显式的端到端联合可信连接失败时,返回警告sql20360w。
once established, any valid user can use the trusted connection without re-authentication.
连接建立后,任何有效用户都可以使用该可信连接,无需重新验证。
trusted connection in an xa application
xa应用程序中的受信任连接
trusted connection in a jdbc application
jdbc应用程序中的受信任连接
attempt to switch users on a federated trusted connection fails
尝试切换联合可信连接上的用户失败
when a trusted connection user is switched, it resets all the connection attributes, including cursor with hold, isolation, bind options, codepage, and so on.
切换可信连接用户时,它重置所有连接属性,包括保留指针、隔离、绑定选项、代码页面等等。
these additional capabilities vary, depending on whether the trusted connection is explicit or implicit.
这些额外功能的内容取决于可信连接是显式的还是隐式的。