Liferay 6.2 改造系列之十:修改系统登录相关配置

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

  

 

posted @ 2016-08-19 17:57  罗锐原  阅读(476)  评论(0编辑  收藏  举报