IBM DB2 Manual page 363

Table of Contents

Advertisement

|
|
|
user
The client identity that is used by the data source to establish the
authorization ID for the database server. If the user was not authenticated
by the application server, the application server must pass a user identity
that represents an unauthenticated user.
password
The password for user.
gssCredential
If the data source uses Kerberos security, specifies a delegated credential
that is passed from another principal.
userNameRegistry
A name that identifies a mapping service that maps a workstation user ID
to a z/OS RACF ID. An example of a mapping service is the Integrated
Security Services Enterprise Identity Mapping (EIM). The mapping service
is defined by a plugin. Valid values for userNameRegistry are defined by the
plugin providers. If userNameRegistry is null, the connection does not use a
mapping service.
userSecToken
The client's security tokens. This value is traced as part of DB2 for z/OS
accounting data. The content of userSecToken is described by the application
server and is referred to by the data source as an application server
security token.
originalUser
The client identity that sends the original request to the application server.
originalUser is included in DB2 for z/OS accounting data as the original
user ID that was used by the application server.
properties
Properties for the reused connection. These properties override any
properties that are already defined on the DB2PooledConnection instance.
getDB2Connection (untrusted reuse with reauthentication)
Formats:
public DB2Connection getDB2Connection(
String user,
String password,
java.util.Properties properties)
throws java.sql.SQLException
public DB2Connection getDB2Connection(org.ietf.jgss.GSSCredential gssCredential,
java.util.Properties properties)
throws java.sql.SQLException
Switches the user that is associated with a untrusted connection, with
authentication.
The first form getDB2Connection provides a user ID and password. The second
form of getDB2Connection is for connections that use Kerberos security.
Parameter descriptions:
user
The user ID that is used by the data source to establish the authorization
ID for the database server.
password
The password for user.
Chapter 7. JDBC and SQLJ reference information
347

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents