Username and password in rmijdbc address

L

Lukasz

Hi,

I have database on a server and I connect to it by specyfying address
in this form:
jdbc:rmi://rmihostname/jdbc-url,user, haselko

User and haselko are variables containing username and password to
database, not to the server.

rmihostname is an IP address and I was wondering if I can use an
address which will contain login and password to connect to the server.

Example: username:password@rmihostname

so the full adress could look like this:
jdbc:rmi://username:password@rmihostname/jdbc-url,user,haselko

I hope that my English and problem description is understandable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,089
Latest member
Ketologenic

Latest Threads

Top