NAME

ClearPress::authdecor

VERSION

$Revision: 413 $

SYNOPSIS

DESCRIPTION

SUBROUTINES/METHODS

new - constructor, overridden from superclass but calls up. Present here to set default page attributes like title, stylesheet etc.

my $oDecor = ClearPress::decor->new();

username - overridden from superclass - fetch username of authenticated user from LDAP or session

my $sUsername = $oDecor->username();

linkbucket - data structure containing default links. TODO: examine user session

my $arLinkHash = $oDecor->linkbucket();

Structure is:
[
  { Name => href },
  { Name => href },
  { Name => href },
  { Name => href },
]

site_header - overridden from superclass. Tacks the linkbucket on to the default header

my $sSiteHeaderHTML = $oDecor->site_header();
my $sSiteFooterHTML = $oDecor->footer();

site_login_form - authentication form used for popup and cgi-bin/login

my $sSiteLoginHTML = $oDecor->site_login_form();

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

strict
warnings
Readonly
ClearPress::authenticator::session
ClearPress::decorator
Exporter

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

$Author: Roger Pettett$

LICENSE AND COPYRIGHT

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.