wood burning stoves*
The moose likes Security and the fly likes LDAP Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "LDAP Connection" Watch "LDAP Connection" New topic

LDAP Connection

hazem Ali

Joined: Mar 23, 2009
Posts: 3
Hi all,
I am connecting to LDAP with java
I am using JDK 1.4.2 and eclips
it get me this exception can someone help me:

javax.naming.AuthenticationNotSupportedException: hazem.goda
0060: E3 31 .1
Thread-0, WRITE: SSLv2 client hello message, length = 98
at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jndi.ldap.LdapClient.saslBind(Unknown Source)
at com.sun.jndi.ldap.LdapClient.authenticate(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
at ADConnection.<init>(ADConnection.java:23)
at ADConnection.main(ADConnection.java:152)
I agree. Here's the link: http://aspose.com/file-tools
subject: LDAP Connection
Similar Threads
Active Directory Issue
LDAP Connection
Writing XML File - Null Pointer Exception
About LDAP and JNDI
Accesing an EJB code in applet using JBOSS