Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Overview of this book

Table of Contents (19 chapters)
Liferay 6.x Portal Enterprise Intranets Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Disabling unused Liferay features


Everybody knows that Liferay is a big system with many functionalities. The main idea of this portal is: we give you all the features and you fit them to your needs. This topic can be divided into three parts: disabling unused servlet filters, disabling unused autologin hooks, and disabling unused features.

How to do it…

Disabling unused filters allows you to increase performance, but you have to know which filters can be disabled. It is a difficult subject for beginners. Unfortunately, we cannot give you a golden rule that covers your needs. We will only try to give some advice and information about filters that can be turned off in the portal-ext.properties files:

  • If you don't use CAS authentication, disable the com.liferay.portal.servlet.filters.sso.cas.CASFilter=false filter

  • If you use Gzip compression on Apache server, disable the com.liferay.portal.servlet.filters.gzip.GZipFilter=false filter

  • If you don't use NTLM authentication, disable the: com.liferay...