Introduction

Moria is software for providing authentication over HTTP using multiple directory backends. The software is designed with a servlet frontend both to the service provider and the user; the service frontend is SOAP based, and HTML is used for the interactive user interface.

The system design is described in detail in the design document.

This section describes the configuration and setup of Moria from scratch.

Presentation

JSP is used for the user login and logout page and Moria ships with standard versions of both. In addition there's a number of other JSPs used. These standard files are contained in the src/webapp/WEB-INF/jsp directory of the Web Module.

There are two ways of replacing the standard JSPs. One can either replace the files when building the war or additionally add some new JSPs and provide a customized web.xml where the servlet definitions for the JSPs are redefined.

A property named project.alternative.jsp.location will be used as source directory for JSP files if defined. All *.jsp files in this location will end up in the jsp directory in the resulting WAR file. For ways to replace the default web.xml file please see the Maven WAR Plugin documentation.

When replacing the JSPs one may also want to replace the language files. This can be done by redefining the property project.resourcebundle.dir, pointing it to a directory with replacement bundles.