|
Oak::AAS::Service::DBI_N_PAM - Class that defines the logic of how to use the DBI_N_PAM service. |
Oak::AAS::Service::DBI_N_PAM - Class that defines the logic of how to use the DBI_N_PAM service.
This is the base class for all the AAS services. This class describes the functionality of any service.
constructor($params)start_session(user,password)validate_session(user,sessionid)end_session(user,sessionid)is_allowed(user,uri)is_allowed_group(group,uri)grant(user,uri)grant_group(group,uri)deny(user,uri)deny_group(group,uri)
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)
);
|
Oak::AAS::Service::DBI_N_PAM - Class that defines the logic of how to use the DBI_N_PAM service. |