The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rubric::WebApp::Login::Post - process web login from query parameters

VERSION

version 0.154

DESCRIPTION

This module checks the submitted query for information needed to confirm that a user is logged into the Rubric.

METHODS

get_login_username

This checks for the username in a current login request. First it checks whether there is a current_user value in this session. If not, it looks for a user query parameter.

authenticate_login($webapp, $user)

This returns true if the username came from the session. Otherwise, it checks for a password query parameter and compares its md5sum against the user's stored password md5sum.

set_current_user($webapp, $user)

This method sets the current user in the session and then calls the superclass set_current_user.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.