Just register the bean in Configuration

@Bean("authController")
public AuthController authController(){
    return new AuthController();
}

在 2023/9/11 21:12, ztf863 写道:

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.

在 2023/9/8 23:22, Ray Bon 写道:
See https://apereo.github.io/cas/6.6.x/webflow/Webflow-Customization-Extensions.html and https://fawnoos.com/2022/07/22/cas66-ui-themes/

Ray

On Fri, 2023-09-08 at 16:15 +0800, ztf863 wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

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


--
- 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+unsubscr...@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 <https://groups.google.com/a/apereo.org/d/msgid/cas-user/4d2bd11d62bd88b45cb9cc5ff9477b55e2850ba6.camel%40uvic.ca?utm_medium=email&utm_source=footer>.

--
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f842b254-a7f2-4db6-9452-da5139434ac6%40gmail.com.

Reply via email to