• 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
  • 相关阅读:
    Docker学习(一)
    mysql定时任务
    如何查看电脑是几核的?
    卸载Mysql connect 6.9.9
    找不到该项目怎么删除
    jmeter录制app脚本
    postman使用
    排查linux系统是否被入侵
    部署apache-tomcat环境
    sudo初级授权设置
  • 原文地址:https://www.cnblogs.com/jytx/p/5454531.html
Copyright © 2020-2023  润新知