What is order of loading portal properties?
- system.properties from portal-impl.jar
- portal.properties from portal-impl.jar
- portal-ext.properties is custom properties
- portal-setup-wizard.properties
- portal-ide.properties
How to change the default email Authentication to screen name?
company.security.auth.type=emailAddress #company.security.auth.type=screenName #company.security.auth.type=userId
How to disable create account/ Register?
# Set this to true to allow strangers to create accounts and register # themselves on the portal. # company.security.strangers=true
How to disable authentication on Liferay?
auth.login.disabled=false auth.login.disabled.path=/portal/login_disabled
How to set Liferay home directory?
liferay.home=${resource.repositories.root}
How to disable user reminder queries?
users.reminder.queries.enabled=true
How to disable terms of use after login?
terms.of.use.required=true
How to setup the email server configuration in Liferay?
###### via JNDI ####### mail.session.jndi.name=mail/MailSession ####Via Properties ####### mail.session.mail.pop3.host=localhost mail.session.mail.pop3.password= mail.session.mail.pop3.port=110 mail.session.mail.pop3.user= mail.session.mail.smtp.auth=false mail.session.mail.smtp.host=localhost mail.session.mail.smtp.password= mail.session.mail.smtp.port=25 mail.session.mail.smtp.user= mail.session.mail.store.protocol=pop3 mail.session.mail.transport.protocol=smtp
How to disable JSON web services for security reasons?
json.web.service.enabled=true
How to increase counter table increment value?
# # Set the number of increments between database updates to the Counter # table. Set this value to a higher number for better performance. # counter.increment=100
How to override default admin creation([email protected]) in Liferay?
Override through portal-ext.properties:
# # Set the default admin password. # default.admin.password=test # # Set the default admin screen name prefix. # default.admin.screen.name=test # # Set the default admin email address prefix. # default.admin.email.address.prefix=test # # Set the default admin first name. # default.admin.first.name=Test # # Set the default admin middle name. # default.admin.middle.name= # # Set the default admin last name. # default.admin.last.name=Test
One thought on “Liferay portal properties interview questions”
Comments are closed.
Very good compilation of liferay interview questions