Ricardo SIGNES > Rubric > Rubric::WebApp::Login::Post

Download:
Rubric-0.155.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.155   Source  

NAME ^

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

VERSION ^

version 0.155

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.

syntax highlighting: