Hello, I am a beginner in CAS. I want to add a new controller to the CAS7 server, but it does not take effect. How should I implement it? Is there any documentation for this? Thanks
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.
Thank you very much for your reply. After my attempts, I found a solution. By adding the controller's package path address in the configuration file META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports, the controller can be identified.
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/4d2bd11d62bd88b45cb9cc5ff9477b55e2850ba6.camel%40uvic.ca.
Just register the bean in Configuration
@Bean("authController") public AuthController authController(){ return new AuthController(); }