To use SSL socket you should look at JSSE (Java Secure Socket Extension).
But i do not know how you can use this with your code.
Hope it could help.
"Karine" <firstname.lastname@example.org> wrote in message
> I need access As400 data with jdbc connection by Internet. I would
> like to use SSL connection. Presently, I have a connection to my
> as400 with the toolbox java. My code for this connection is:
> url = "jdbc:as400://999.999.9.999";
> Connection conAs400 = null;
> conAs400 = DriverManager.getConnection(url, username, password);
> java.sql.Statement st400 = conAs400.createStatement();
> My question: How can I integred security SSL in this exemple??
> I have read a doc of toolbox java, but I would like exemple or more
> information because I not understand this.
> Thank you in advance!!!
> ps: It's very important!!!