Liferay is a complete portal solution based on the Java EE architecture, using the EJB, JMS and other technologies, the foreground interface using the Struts MVC Framework, template technology and some other open source mainstream technology, xml-based portlet configuration file can dynamically expand, using the Web Services to support the acquisition of some remote information, the use of Lucene to achieve full-text search capabilities.
Main Features:
With state-of-the-art technology Java, EJB, JMS, SOAP, XML. Provide a variety of single point landing interface, such as CAS,LDAP, Openid,opensso and so on. Administrators can easily manage users, groups, roles, and assign different permissions and functions to different users through the user interface. Users can tailor their personalized page layouts and color styles to their needs. Can be run on the mainstream Java EE application Server, such as Tomcat,weblogic,websphere or open source free server. Support a variety of mainstream database, such as ORACLE,DB2, MySQL and so on. Use third party open source projects, such as Velocity, Hibernate, Lucene, Struts, etc. Support for multiple languages including Chinese. The latest version is Liferay 6.1 (February 2012 update).
Introduction to CAS Systems
CAS is an independent web application that is currently implemented using the Java Servlets to secure the transmission of its data through HTTPS protocol. It is accessed through three URL addresses: the login URL, the authentication URL, and the logout URL.
Figure 1. CAS Principles and protocols
Liferay Deployment Installation
In this article, we deploy the sample as a Liferay6.1 version.
Get ready:
Because this article needs to use the Liferay database as a single sign-on authentication database, we need to install the Liferay database on Mysql. Mysql Download and install this article does not make a prefix. The installation and configuration of Liferay is briefly described here. Liferay can be downloaded from the official website to the latest version of the installation package.
Liferay installation package Download Address:
http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.0%20GA1/ Liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760.zip/download
Install Liferay:
Liferay initializes the database at startup.
Unzip the download to the installation package Liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760.zip to the installation directory in the path liferay-portal-6.1.0-ce-ga1\ Tomcat-7.0.23\bin find the Startup.bat boot file and execute it. By default, Liferay uses hypersonic as the default database, and on the first visit we can configure parameters such as database, Admin user, and so on. When the Tomcat server is started, we have access to http://localhost:8080/. If a basic Configuration page appears, the deployment is successful. Next, we can make some basic settings for Liferay on this configuration page. The first thing we need to do is change the default database to the Mysql database we want to use. Click (change) as shown in Figure 2:
Figure 2. Liferay Configuration page
Here we modify the link URL of the database to our new database address. When finished, click Finish configuration. At this point, Liferay initializes the database based on the new configuration parameters and the database address. The Liferay installation completes when the following interface appears:
Figure 3. Liferay Configuration Initialization Successful interface