package com.njcn.auth.config; /** * pqs * * @author cdf * @date 2026/6/8 */ import com.sgcc.epri.auth.config.EnableSSOClient; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Configuration; /** * 仅控制 SSO 客户端开关,不影响任何其他功能 */ @Configuration @ConditionalOnProperty( prefix = "cas.client", // 配置前缀 name = "enabled", // 配置项名称 havingValue = "true", // 值为true才生效 matchIfMissing = false // 不配置默认关闭 ) @EnableSSOClient public class LnSsoClientConfig { }