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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top