Sun GlassFish Web Space Server 10.0 Administration Guide

Main Servlet

Main Servlet is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

Servlets can be protected by com.liferay.portal.servlet.filters.secure.SecureFilter.

Input a list of comma-delimited IPs that can access this servlet. Input a blank list to allow any IP to access this servlet. SERVER_IP will be replaced with the IP of the host server.


main.servlet.hosts.allowed=

Set the following to true if this servlet can only be accessed via https.


main.servlet.https.required=false