Spring Security circular bean dependency

后端 未结 5 1388
梦毁少年i
梦毁少年i 2020-12-13 14:25

I\'m currently working on a Vaadin spring application. According to the app specifications, authentication/authorization of the users must be completed by querying database

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 14:30

    I prefer the @Lazy method. That way I can stick to one pattern.

    See http://www.baeldung.com/circular-dependencies-in-spring

提交回复
热议问题