java - Anyway to create an Oracle Database connection pool without pre-authentication? -
i incorporate database connection pooling in order speed application (as opposed creating new connection each time), however, database pooling mechanisms require authentication @ time of database pool creation (that i've tried).
if possible, create x database connections (which has gone through expensive process of creating database connections not yet authenticated yet).
ideally following...
mydatabaseconnectionpool.getconnection (username, password) which not create new database connection authenticate against database. database oracle okay create database pool oracle specific.
note: java based web app.
due legacy design , previous decisions (out of control), web application of involvement uses user's credentials database login (as opposed central login). cannot utilize central user web application due auditing reasons each user has have own username/password in order connect database (i know know, i'm trying work limited to).
i not believe such thing possible. because big part of expense in connecting database authentication happens on connecting database. in other words, can't connect database without authenticating (unless security policies lax).
java database oracle jdbc database-administration
No comments:
Post a Comment