LDAP (OpenLDAP) - Wisemapping failed to run

91 views
Skip to first unread message

Maxim Grokhulskiy

unread,
Mar 5, 2023, 7:39:34 AM3/5/23
to wisemapping-support
Hello

I am trying to auth against OpenLDAP
so for proxy user I have to use
uid=..
instead of
cn=..

thus my wisemapping  failed to run with following exception

[main] ERROR org.springframework.web.servlet.DispatcherServlet - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'authManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value="authenticationManager"), @org.springframework.beans.factory.annotation.Autowired(required=true)}


Ive tryed to use
cn=...
or even avoid bind user
the situation is the same

Please advise
thank you

Maxim

Reply all
Reply to author
Forward
0 new messages