1、关闭自动登录功能:
在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:
# # Set this to true to allow users to select the "remember me" feature to # automatically login to the portal. # company.security.auto.login=true
修改为:
# # Set this to true to allow users to select the "remember me" feature to # automatically login to the portal. # company.security.auto.login=false
2、不允许注册新用户:
在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:
# # Set this to true to allow strangers to create accounts and register # themselves on the portal. # company.security.strangers=true
修改为:
# # Set this to true to allow strangers to create accounts and register # themselves on the portal. # company.security.strangers=false
本文介绍如何在门户系统中禁用自动登录功能和阻止新用户注册,通过修改portal.properties文件中的配置项实现安全性增强。
1784

被折叠的 条评论
为什么被折叠?



