liferay portal-ext.properties配置信息

来源:互联网 发布:数据埋点是什么意思 编辑:程序博客网 时间:2024/05/17 09:43

portal-ext.properties

##
## MySQL config
##
database.indexes.update.on.startup=true
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://int-MariaDB2/IntranetDev_lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=xxx
jdbc.default.password=xxx

##
## Velocity Engine
##
velocity.engine.restricted.variables=
velocity.engine.restricted.classes=java.lang.ClassLoader,java.lang.Thread

##
## Default Landing Page 
##
default.landing.page.path=/web/corporate/news


##
## Default User Layouts
##
layout.user.public.layouts.auto.create=false
layout.user.private.layouts.auto.create=false


##
## Redirect
##
redirect.url.security.mode=domain
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
redirect.url.domains.allowed=


##
## Company
##
company.default.name=Rivet Logic Corporation
company.default.web.id=rivetlogic.com
company.default.home.url=/web/guest
default.guest.public.layout.friendly.url=/web/guest
#company.security.auth.requires.https=true
company.security.strangers=true  #For some reason Google Login hook requires this to be true.
company.security.strangers.url=
company.security.send.password=false    # We don't want users to login using portal credentials, we want them to use Google's
company.security.send.password.reset.link=false   # We don't want users to login using portal credentials, we want them to use Google's
passwords.default.policy.reset.ticket.max.age=1  # Reset links are only valid for 1 second. We don't want users to login using portal credentials 
company.security.site.logo=false
company.settings.form.configuration=general,authentication,users,mail-host-names,email-notifications
company.settings.form.identification=
company.settings.form.miscellaneous=display-settings,analytics
company.settings.form.authentication=general
open.id.auth.enabled=false
portal.impersonation.enable=false
web.server.servlet.version.verbosity=partial

##
## LOGIN FORM
##
login.secure.forgot.password=true
login.form.navigation.post=google

##
## PASSWORD GENERATION & VALIDATION 
##

# SEE http://grepcode.com/file/repo1.maven.org/maven2/com.liferay.portal/portal-impl/6.2.3/com/liferay/portal/security/pwd/PasswordPolicyToolkit.java#PasswordPolicyToolkit.generateDynamic%28com.liferay.portal.model.PasswordPolicy%29
# SEE https://web.liferay.com/community/wiki/-/wiki/Main/Password+Policy+and+Account+Lockout
passwords.default.policy.change.required=false
passwords.default.policy.min.length=20
passwords.default.policy.min.numbers=4
passwords.default.policy.min.uppercase=4
passwords.default.policy.min.lowercase=4
passwords.default.policy.min.symbols=4
passwords.default.policy.check.syntax=true
passwords.default.policy.regex=

##
## ACCOUNT LOCKOUT
##
passwords.default.policy.lockout=true
passwords.default.policy.max.failure=3
passwords.default.policy.lockout.duration=600    # 10 minutes
passwords.default.policy.reset.failure.count=3600   # Failure count history is kept for 1 hour

##
## Email notifications
##
admin.email.user.added.enabled=false    # We don't want users to login using portal credentials, we want them to use Google's
users.reminder.queries.enabled=false    # We don't want users to login using portal credentials, we want them to use Google's

##
## Groups and Roles
##
terms.of.use.required=false

##
## Fields
##
field.editable.user.types=
field.editable.domains[emailAddress]=
field.editable.domains[firstName]=
field.editable.domains[lastName]=
field.editable.domains[middleName]=
field.editable.domains[jobTitle]=*
field.editable.domains[birthday]=*
field.editable.domains[gender]=*
field.editable.domains[portrait]=*
field.editable.domains[prefix]=*
field.editable.domains[screenName]=*
field.editable.domains[suffix]=*

##
## Users
##
users.last.name.required=true
users.form.add.main=details,organizations
users.form.add.identification=
users.form.update.main=details,password,organizations,sites,user-groups,roles,categorization,skills-and-hobbies
users.form.update.identification=addresses,phone-numbers,instant-messenger,social-network
users.form.update.miscellaneous=display-settings,custom-fields
users.form.my.account.main=details,skills-and-hobbies
users.form.my.account.identification=addresses,phone-numbers,instant-messenger,social-network
users.form.my.account.miscellaneous=display-settings

##
## Organizations
##
organizations.form.add.main=details
organizations.form.update.main=details
organizations.form.update.identification=
organizations.form.update.miscellaneous=custom-fields

##
## SITES
##
sites.control.panel.members.visible=false

##
## Session
##
session.timeout=5
session.timeout.auto.extend=true
session.timeout.redirect.on.expire=true

##
## Authentication Pipeline
##
auth.login.prompt.enabled=true

##
## Layouts
##
layout.show.portlet.access.denied=false
layout.show.portlet.inactive=false
layout.user.private.layouts.power.user.required=true
layout.user.public.layouts.power.user.required=true
layout.form.update=details,javascript
layout.set.form.update=javascript
layout.parentable=false
layout.prototype.merge.fail.threshold=1
layout.set.prototype.merge.fail.threshold=1

##
## PORTLETS & PLUGINS
##
plugin.notifications.enabled=true
blogs.pingback.enabled=false
blogs.trackback.enabled=false
blogs.ping.google.enabled=false
blogs.publish.to.live.by.default=true
journal.article.form.add=content,abstract,categorization,schedule,display-page,permissions
journal.article.form.default.values=content,abstract,categorization,display-page
journal.article.form.update=content,abstract,categorization,schedule,display-page,custom-fields
# message.boards.anonymous.posting.enabled=false
message.boards.pingback.enabled=false
message.boards.publish.to.live.by.default=true
sites.form.add.main=details
sites.form.update.main=details,site-url
sites.form.update.seo=
sites.form.update.advanced=analytics,recycle-bin
sites.form.update.miscellaneous=custom-fields,display-settings
sites.content.sharing.with.children.enabled=0
sites.content.sharing.through.administrators.enabled=false
sites.sitemap.default.change.frequency=never
trash.enabled=false