We Are Going To Discuss About JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A. So lets Start this Java Article.
JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A
- JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A
The exceptions says that it requires an authentication (bind) before performing the operation (search).
As it's shown in the documentation try to usesimple
authentication - JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A
The exceptions says that it requires an authentication (bind) before performing the operation (search).
As it's shown in the documentation try to usesimple
authentication
Solution 1
The exceptions says that it requires an authentication (bind) before performing the operation (search).
As it’s shown in the documentation try to use simple
authentication
// Authenticate as S. User and password "mysecret"
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "cn=S. User, ou=NewHires, o=JNDITutorial");
env.put(Context.SECURITY_CREDENTIALS, "mysecret");
Original Author Abylay Sabirgaliyev Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.