Book Image

Building Websites with OpenCms

Book Image

Building Websites with OpenCms

Overview of this book

This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. OpenCms OpenCms is a professional-level, open source Website Content Management System, with which you can create and manage complex websites. Based on Java and XML technology, it fits into almost any modern IT environment. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system.
Table of Contents (12 chapters)
Building Websites with OpenCms
Credits
About the Author
Introduction

Web User Authentication and Management


In Chapter 3, we looked at creating and managing user accounts for the OpenCms Workplace. In this section, we'll look at managing accounts for end users—those that do not need access to the OpenCms Workplace.

If you are using a statically exported site, you will need to use an external form of authentication, such as your web server's HTTP Auth mechanism. Because of the limitations of the OpenCms authentication mechanism, it may be easier to manage authentication through the web server itself. Consult your web server's documentation to learn more about this.

However, if you are using OpenCms, you can use its existing authentication code to manage authentication of external users. In this section, I will focus on using the built-in OpenCms authentication mechanism.

How OpenCms Handles Authentication

OpenCms is strongly centered on the concept of users and groups. All CMS tasks, including simple content display, require user and group information. In other...