CAS配置文件:application-cas.yml 打开注解即开始认证,注释注解即关闭认证 //@EnableCasClient //@Configuration public class CasConfigure extends CasClientConfigurerAdapter {