Architecture Document for airflow/PFE

Authors

TimP

Sections

Readership

Introduction

The data structure for the ACANGold database is given here.

Database Structure

The database structure is created and maintained in MS Access Format.

The above is processed using msaccess2sql to produce the data definition in SQL and the Paneris Datadictionary format.

User Interface Templates

The templates for the user pages are held in the repository.

User Authorisation

User System

A User class which is basically a DDRecord representing the user's organisation record.

The user's id is an integer passed around in the session (read cookie).

Use the two in a handler like this:

         // Find user
        String userid = "";
        Object useridObj = context.getSession().getValue("userid");
        if (useridObj != null)
            userid = useridObj.toString();
        else throw new HandlerException("User Id missing.");

If the session has timed out, or if the user has never logged in, then the login template is presented.

PFELogin

If this handler is passed a username and password field, it will see if it can log the user on. If so, it sets the userid and user_type in the session.

Third Party Software Used

Location Version Comments
Apache Server 1.3.3
Apache JServ 1.0b2
Postgres 6.4.2
JDK 117.v1a
JSDK 2.0
webmacro 0.85.1

Paneris Software Used

Location Version Comments
Datadictionary 0.0.3
msaccess2sql 0.0.2

Document Dated: Tue May 25 3:05:00 1999 by TimP
Modify this document
Previous Version

Use functions relevant to this node eg create a new page