Project

General

Profile

Actions

Bug #24325

closed

Fix initialization of spring beans in auth-backends

Added by Clark ANDRIANASOLO 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
N/A
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

There was a missing bean declaration, leading to an error at start-up :


org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oidcUserService' defined in class path resource [bootstrap/rudder/plugin/AuthBackendsSpringConfiguration.class]: U
nsatisfied dependency expressed through method 'oidcUserService' parameter 3; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.normation.rudder
.users.UserRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801)


Related issues 1 (0 open1 closed)

Related to Authentication backends - User story #24182: Add a role mapping and filtering for OIDC provided rolesReleasedClark ANDRIANASOLOActions
Actions

Also available in: Atom PDF