You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
There's a dependency cycle between SAMLDiscovery.setSamlEntryPoint and SAMLEntryPoint.setSamlDiscovery.
This generates an error on startup as of Spring Boot 2.6.
The dependencies of some of the beans in the application context form a cycle:
samlFilter
┌─────┐
| samlEntryPoint
↑ ↓
| samlDiscovery
└─────┘
Workaround is to set spring.main.allow-circular-references=true.
The text was updated successfully, but these errors were encountered:
This could also affect users of earlier Spring Boot versions or of plain Spring Framework if they've set AbstractAutowireCapableBeanFactory.setAllowCircularReferences(boolean) to false as Boot does by default as of 2.6.
OrangeDog
changed the title
Bean dependency cycle with Boot 2.6
Dependency cycle with SAMLEntryPoint
Jan 26, 2022
There's a dependency cycle between
SAMLDiscovery.setSamlEntryPoint
andSAMLEntryPoint.setSamlDiscovery
.This generates an error on startup as of Spring Boot 2.6.
Workaround is to set
spring.main.allow-circular-references=true
.The text was updated successfully, but these errors were encountered: