portal.properties 在liferay中属于核心的配置文件
他有一定的加载顺序
我们自定义的属性放在portal-ext.properties中,如果没有创建一下
登录类型的选择screenName
company.security.auth.type=screenName
关闭密码提醒功能:
users.reminder.queries.enabled=false
关闭使用条款确认
terms.of.use.required= false
用户信息中邮件设置为不必填
users.email.address.required=false
密码的加密策略 密码不加密
passwords.encryption.algorithm=NONE
关闭首次登录强制修改密码功能:
passwords.default.policy.change.required=false
密码的生成策略,静态的不变的
asswords.passwordpolicytoolkit.generator=static
passwords.passwordpolicytoolkit.static=111111
openid关闭,位于登录框的选项
open.id.auth.enabled=false
登录的时候加载的hooks的类名,我重写的登录类AutoLogin
auto.login.hooks=com.InsecureAutoLogin