Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Dependency cycle with SAMLEntryPoint #518

@OrangeDog

Description

@OrangeDog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions