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 #1

Updated by Clark ANDRIANASOLO 9 months ago

  • Description updated (diff)
Actions #2

Updated by Clark ANDRIANASOLO 9 months ago

  • Related to User story #24182: Add a role mapping and filtering for OIDC provided roles added
Actions #3

Updated by Clark ANDRIANASOLO 9 months ago

  • Status changed from New to In progress
Actions #4

Updated by Clark ANDRIANASOLO 9 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/677
Actions #5

Updated by François ARMAND 9 months ago

  • Status changed from Pending technical review to Resolved

Resolved in #24344

Actions

Also available in: Atom PDF