jndi - AuthenticationNotSupportedException when using TLS
Hi
I have a strange problem and no idea how to solve it or why it does not work ...
I am using an OpenLDAP as an authentication backend and Jetty as servlet container, which acts as web client for the OpenLDAP server.
I can access, read, write to the OpenLDAP server without using TLS. I can't complain about it, it really works great.
But I want to use a TLS encrypted connection, if the ldapserver and webclient are not on the same machine, so I chose using TLS via StartTLS.
I always get following exception:
javax.naming.AuthenticationNotSupportedException: [LDAP: error code 8 - modifications require authentication];remaining name ...
Do I have to configure anything else at the ldap server or java code? Why doesn't it use the same credentials it uses without TLS?
thanks for your help
regards
Peter

