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