GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GANTRY::CONTROL::C::USERS (3)

.ds Aq ’

NAME

Gantry::Control::C::Users - User Management

CONTENTS

SYNOPSIS



  use Gantry::Control::C::Users;



DESCRIPTION

This Handler manages users in the database to facilitate the use of that information for authentication, autorization, and use in applications. This replaces the use of htpasswd for user management and puts more information at the finger tips of the application.

APACHE



  <Location /admin/users >
    SetHandler  perl-script

    PerlSetVar  title   "User Management: "

    PerlSetVar  dbconn  "dbi:Pg:dbname=..."
    PerlSetVar  dbuser  "<database_username>"
    PerlSetVar  dbpass  "<database_password>"
    PerlSetVar  dbcommit  off

    PerlHandler Gantry::Control::C::Users
  </Location>



DATABASE

This is the auth_users table that is used by this module. It is also used by the Authentication modules to verify usernames and passwords. The passwords are ecrypted by the crypt(3) function in perl.



  create table "auth_users" (
    "id"            int4 default nextval(auth_users_seq) NOT NULL,
    "user_id"       int4,
    "active"        bool,
    "user_name"     varchar,
    "passwd"        varchar,
    "crypt"         varchar,
    "first_name"    varchar,
    "last_name"     varchar,
    "email"         varchar
  );



METHODS

Most of the methods are mapped to urls.
do_add
do_delete
do_edit
do_main
redirect_to_main Decides where to go after a button press.
One method is provided for templates to call.
site_links Provides the site nav links for use at the top and/or bottom of the page.

SEE ALSO

Gantry::Control(3), Gantry(3)

LIMITATIONS

The passwords for users are enrypted so they can not be seen at all. In some situations this could be a very big problem.

AUTHOR

Tim Keefer <tkeefer@gmail.com>

COPYRIGHT

Copyright (c) 2005-6, Tim Keefer.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GANTRY::CONTROL::C::USERS (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.