databse connectivity through jndi



Hi,

I configured my context.xml file to get the datasource, but i have the
username and password hardcoded in there in the context file. But is
there any possibility I can connect to the databse using the user
entered username and password during login. I mean how can I use that
username and password to get to db connection of the resource?

Awaiting reply

Thanks

.



Relevant Pages

  • SU privileges and sudo logging
    ... I'm awaiting a decision from the Security department ... I went ahead and downloaded and compiled sudo. ... $username' without needing to know the password of $username, ... (awaiting a flood of vacation messages from misconfigured vacation ...
    (AIX-L)
  • JBoss/JAAS Principal Initializing
    ... and the OracleDS2 datasource is using this logon authentication ... The expectation is the username and the password supplied ... by a datasource getConnectionmethod will be passed on to the ... The other datasource used by the login module is basically ...
    (comp.lang.java.programmer)