NAME
Lemonldap::NG::Portal::Main::Request - HTTP request object used in LLNG portal methods.
SYNOPSIS
# Somewhere in a plugin...
sub run {
my ( $self, $req ) = @_;
# $req is a Lemonldap::NG::Portal::Main::Request object
...
}
DESCRIPTION
Lemonldap::NG::Portal::Main::Request extends Lemonldap::NG::Common::PSGI::Request to add all parameters needed to manage portal jobs.
METHODS
Accessors
steps()
Stack of methods to call for this requests. It can be modified to change authentication process
datas()
Free hash ref where plugins can store their datas. Using it is a LLNG best practice
User information
id()
Session id (main cookie value).
sessionInfo()
Hash ref that will be stored in session DB.
user()
Username given by authentication module, used by userDB module.
mustRedirect()
Boolean to indicate that response must be a redirection (used for example when request is a POST).
urlNotBase64
Boolean to indicate that url isn't Base64 encoded.
Other methods
info()
Store info to display in response.
menuError()
notification()
see notification plugin.
errorType()
Returns positive/warning/negative depending on value stored in error property.
SEE ALSO
http://lemonldap-ng.org/, Lemonldap::NG::Common::PSGI::Request
AUTHORS
- LemonLDAP::NG team http://lemonldap-ng.org/team
BUG REPORT
Use OW2 system to report bug or ask for features: http://jira.ow2.org
DOWNLOAD
Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274
COPYRIGHT AND LICENSE
See COPYING file for details.
This library 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 2, 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/.