LDAP and ssl trusted certificate connection problem.
843811Aug 7 2003 — edited Aug 7 2003LDAP and ssl trusted certificate connection problem.
Because I am having trouble with trusted certificates.
I am attempting to use the example from the following thread written by spae0022 and encountering a problem.
http://forum.java.sun.com/thread.jsp?forum=51&thread=229192&start=15&range=15&hilite=false&q=
The following seems to be the problem -
/******* VERY IMPORTANT LINE - the parameter is the fully qualified name of your socket factory class *********/
env.put("java.naming.ldap.factory.socket", "adadministrator.DummySSLSocketFactory");
I modified the line above to
env.put("java.naming.ldap.factory.socket", "Passport.DummySSLSocketFactory");
where Passport is my project name.
I am getting the following error.
javax.naming.CommunicationException: 192.168.1.103:636.
Root exception is java.lang.ClassNotFoundException: Passport.DummySSLSocketFactory
It does not seem to be finding the class DummySSLSocketFactory.
The only thing I can think of is the project is named Passport and the main class in the project is named Passport.
Is this what is causing the problem or am I missing something on the name qualification?
Any help you can offer would appreciated.
rykk