mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
SsoService / SsoStateService / SsoController / SsoProviderRegistry were unconditional component-scanned beans, but their configuration (SsoProperties) is only registered by the conditional auto-configuration. With SSO disabled (the default) the services were still instantiated and startup failed: "required a bean of type SsoProperties that could not be found". Gate the four beans on the same mateclaw.sso.enabled=true condition so the SSO stack loads as a unit — disabled = no beans and no exposed endpoints; enabled = the auto-configuration provides SsoProperties and everything wires. Verified: backend starts clean with SSO disabled (default). |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| pom.xml | ||
| settings.xml | ||