CGI::AppBuilder::Security - Security Procedures
use CGI::AppBuilder::Security; my $sec = CGI::AppBuilder::Security->new(); my ($sta, $msg) = $sec->access_ok($ar);
This class provides methods for reading and parsing configuration files.
This is a inherited method from CGI::AppBuilder. See the same method in CGI::AppBuilder for more details.
Input variables:
$q - CGI object $ar - array ref containing the following variables: task : task name required ($t) sel_sn1 : select one (DB/server name) sel_sn2 : select two (Argument) allowed_ip : allowed ip address for each task roles : roles allowed to access a list of tasks svr_allowed : server allowed for each task arg_required : required argument for each task
Variables used or routines called:
None
How to use:
See access_ok
Return: ($status, $msg) where $status is 1 (ok) or 0 (not), and the msg is the error message.
Version 0.10
This version extracted from jp2.pl on 09/08/2010.
Version 0.20
02/08/2012 (htu): added access_ok2 02/10/2012 (htu): added get_guid, set_guid and sel_guid 02/14/2012 (htu): added set_ids
Oracle::Loader, Oracle::Trigger, CGI::AppBuilder, File::Xcopy, CGI::AppBuilder::Message
Copyright (c) 2012 Hanming Tu. All rights reserved.
This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install CGI::AppBuilder::MapSecus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::AppBuilder::MapSecus
CPAN shell
perl -MCPAN -e shell install CGI::AppBuilder::MapSecus
For more information on module installation, please visit the detailed CPAN module installation guide.