CAS 本地化
2026/7/28 18:00:23 网站建设 项目流程

1,springboot application.properties增加如下配置

# cas.locale.paramName=locale
# cas.locale.defaultValue=en

2, 或者https://cas.server.edu/login?locale=it

配置后会启用 src/main/resources下的资源文件

message_xx.properties

如果需要自定义,需要按照命名格式 custom_message.properties

参考:https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ticket-granting-cookie

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询