NAME
Oak::AAS::Service::DBI_N_PAM - Class that defines the logic of how to use the DBI_N_PAM service.
HIERARCHY
DESCRIPTION
This is the base class for all the AAS services. This class describes the functionality of any service.
METHODS
- constructor($params)
-
Must create the object and store the params it needs to work. Must throw an error if something goes wrong. The params must be a single string.
- validate_session(user,sessionid)
-
Check if this is a valid session, return a boolean value (1=>success).
- list_uri
-
return an array with the available uri
COPYRIGHT
Copyright (c) 2003 Oktiva <http://www.oktiva.com.br> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
CREATE TABLE aas_session ( id varchar(255) NOT NULL DEFAULT "" PRIMARY KEY, login varchar(127) NOT NULL DEFAULT "" UNIQUE, last_access int UNSIGNED NOT NULL DEFAULT 0, ip varchar(255) NOT NULL DEFAULT "" );
CREATE TABLE aas_user_perms ( login varchar(127) NOT NULL DEFAULT "", uri varchar(255) NOT NULL DEFAULT "", PRIMARY KEY (login), UNIQUE KEY login_uri (login,uri) );
CREATE TABLE aas_group_perms ( login varchar(127) NOT NULL DEFAULT "", uri varchar(255) NOT NULL DEFAULT "", PRIMARY KEY (login), UNIQUE KEY login_uri (login,uri) );