TODO items for the Portal:

* Create Administration Apps (Users, Companies, Applications, Help, etc.)

  Flesh out the Purchase more licenses support in the CompanyAdmin app and
  Portal::Forms::Apps modules.

  -- Make the User Apps Settings form use combo boxes for autorun, wap.

* Implement an authentication scheme which will limit who can create/edit/delete
  companies, users, applications, etc. instead of just allowing anyone who knows
  the methods/parameters to work with the data.

* Add userId validation lookup checks to user rights and preferences methods
  at least the create and update methods.

* Improve the Session cleanup code when an application goes south.  Create an
  App that will provide a view of the current sessions and who they belong to.
  This should show any sessions / who entries that are orphaned and provide the
  means to remove them.  This interface would also allow the administrator to
  pre-emptively kill a user if they wanted to.

* Implement virtual server (Apache style) support.  This will require having
  a seperate directory in /etc/pcx_portal for each server.  To facilitate rpm
  installs, a directory called default will be created that rpm's will install
  their config files into and the default server name will be a symlink to that
  directory.  All other directories will be virtual servers the user wants.
  The Portal can only be installed (perl modules at least) once, but the cgi
  scripts and any other support files must be installed into each virtual 
  servers file space and made available as whatever the config file says.
  The SERVER_NAME variable will be used to know which config directory to work
  with.  The command line scripts will have to prompt the user for and set the
  value so they work with the correct files.
