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.01

 $Id: Post.pm,v 1.2 2004/12/20 13:36:13 rjbs Exp $

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>

BUGS

Please report any bugs or feature requests to bug-rubric@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright 2004 Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.