Providing Cache Administration User Credentials
Once the cache administration users are created with their respective passwords, these credentials need to be provided in two places for cache operations to proceed.
-
Provided on the connection string: When you are connecting to the TimesTen database and are planning on performing cache operations that require TimesTen to connect to the Oracle database, the cache administration users and respective passwords are required. You can provide these either with the cache administration user and passwords saved in an Oracle Wallet (preferred) pointed to by the
PwdWallet
connection attribute or specified distinctly within theUID
,PWD
,PWDCrypt
, andOraclePWD
connection attributes. Providing credentials in a wallet is more secure than supplying a password on the connect string with thePWD
orPWDCrypt
connection attributes.See Providing Cache Administration User Credentials When Connecting.
-
Registered internally within TimesTen: There are cache operations that TimesTen performs for you. In order for TimesTen to connect to the Oracle database successfully to perform these cache operations, TimesTen needs to have the Oracle cache administration user and password credentials registered internally. In TimesTen Classic, the internal registration is accomplished when you run the
ttCacheUidPwdSet
built-in procedure. You can specify that the results of thettCacheUidPwdSet
built in procedure are saved in an Oracle Wallet (preferred) or in memory. The credentials are saved within an Oracle Wallet when you set theCacheAdminWallet
=1 in the DSN as a first connection attribute (which is best set in the DSN).See Registering the Cache Administration User Name and Password.