Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why
« Back to Portal Properties

Commonly Used Portal Properties

Introduction #

This page shows and links to some portal properties that are commonly used to configure Liferay installs. Please add properties that are only widely used to this page, and leave a good description so that people can understand what the property does. Also leave a version number next to the property that it was used with.

How to Use #

Portal properties can be set by creating a file called portal-ext.properties in your Liferay installation. For the tomcat bundle, you need to create it in:

 {install directory}/liferay-{version}/tomcat-{version}/webapps/ROOT/WEB-INF/classes/portal-ext.properties 

Common Properties #

User Specified Password #

  • Allows the user to specify a password at signup
  • Versions: 5.2.x, 6.0.x

login.create.account.allow.custom.password=true

Recaptcha #

  • Allows user to easily enable recaptcha
  • Versions 5.2.x, 6.0.x
  • See Recaptcha for the properties

MySQL #

  • Allows user to enable MySQL Database
  • Versions 5.0+
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=YOUR USERNAME HERE
jdbc.default.password=YOUR PASSWORD HERE
0 Attachments
17066 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments