Sun GlassFish Web Space Server 10.0 Administration Guide

Auto Login

Auto Login 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.

Input a list of comma-delimited class names that implement com.liferay.portal.security.auth.AutoLogin. These classes will run in consecutive order for all unauthenticated users until one of them return a valid user ID and password combination. If no valid combination is returned, then the request continues to process normally. If a valid combination is returned, then the portal will automatically login that user with the returned user ID and password combination.

For example, com.liferay.portal.security.auth.RememberMeAutoLogin reads from a cookie to automatically log in a user who had previously logged in while selecting the Remember Me box.

This interface allows deployers to easily configure the portal to work with other SSO servers. See com.liferay.portal.security.auth.CASAutoLogin for an example of how to configure the portal with Yale's SSO server.


auto.login.hooks=com.liferay.portal.security.auth.CASAutoLogin,com.liferay.-
portal.security.auth.NtlmAutoLogin,com.liferay.portal.security.
auth.OpenIdAutoLogin,com.liferay.portal.security.auth.OpenSSOAutoLogin,co
m.liferay.portal.security.auth.RememberMeAutoLogin

Set the hosts that will be ignored for auto login.


auto.login.ignore.hosts=

Set the paths that will be ignored for auto login.


auto.login.ignore.paths=