|
| Re: Discovery DataSource JNDI name Dinamically |
 |
Thu, 15 May 2008 15:08:39 -070 |
Are you running on WLS 10? If so, would it make sense to use the WLS connection
pool feature (Service Account?) so that database connections obtained via
specific WLS users are made with a corresponding database users? WLS 9 might
also have that feature - but it is not in WLS 8.
The other choice you have is using a DSP DataSourceBindingProvider (see the DSP
2.5 doc - the feature has been deprecated in DSP 3.x - but it has not been
removed). You would need to obtain the current user using some
weblogic.security calls, and then return the correct DataSourceName based on the
|
| Post Reply
|
|
|
|
|
|
|
|
|
|