LDAP (OpenLDAP) - Wisemapping failed to run

Issue #17 duplicate
Former user created an issue

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

Comments (1)

  1. Log in to comment