Re: [cas-user] CAS 7.0.0, how to scan self created beans, and manage by spring

2023-06-30 Thread Petr Bodnár
chaof...@foxitsoftware.com, thanks for sharing your findings! It looks like CAS started using "spring.components" (and the indexer) in *v6.4.0-RC2* already - see https://github.com/apereo/cas/commit/9b98f13507c6aae101cae94f338840e02ba09330. I don't quite understand why (*the commit message say

Re: [cas-user] CAS 7.0.0, how to scan self created beans, and manage by spring

2023-06-19 Thread David Malia
This isn't really a CAS issue, but rather understanding how Spring configuration works. Create a Spring configuration class with the following annotations adjusting accordingly to your environment. package some.package; @Configuration @ComponentScan(basePackages = {"some.package.you.want.scanned"

[cas-user] CAS 7.0.0, how to scan self created beans, and manage by spring

2023-06-19 Thread 'Char Lin' via CAS Community
Hi, all. Just like the title, CAS 7.0.0, I can't atowired the bean annotated by @Service and @Component... How to configure scan them and add to spring bean factories? [image: 20230619181953.png] >From the picture, I started the cas application, but report the 'userService is null' who can help