Hi,
we cannot explain this:
- using the LDAP AddOn
- changed the …Application.class for being ready for war deployment based on documentation for JMIX
- created LdapSynchronizationStrategy
- added VM parameters to tell where to find truststore.jks which we need for reaching the LDAP server
LDAP login works fine on server with the deployed war file.
But:
locally we get this error message:
Caused by: org.springframework.security.ldap.authentication.ad.ActiveDirectoryAuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090439, comment: AcceptSecurityContext error, data 52e, v4563 ]
when we create this empty component class,
it works:
import io.jmix.ldap.LdapSecurityConfiguration; import org.springframework.stereotype.Component; @Component public class Imap_LdapSecurityConfiguration extends LdapSecurityConfiguration { }
So the question, why do we need this empty component class???
We can reproduce the login error just by deleting this class.
When we add it again, the login works fine.
Regards
Roland