NAME

Authen::RBAC::Group - Perl extension to manage authorization Groups

SYNOPSIS

  use Authen::RBAC::Group;
  my $object = new Authen::RBAC::Group;

DESCRIPTION

Creates a new Group object

INTERFACE

The following methods are available in this module.

new();

set_group_name($group_name)

Sets the group_name associated with this object

Accepts a single group_name

get_group_name()

Gets the group_name associated with this object

add_acl($acl_name,$default_policy)

Add a new ACL to this group

add_acl_policy($acl_name,$policy_type,$base_pattern,\@additional_patterns)

Adds a policy to an ACL

delete_acl_policy($acl_name,$policy_type,$base_pattern, $add_patterns)

Removes a policy from an ACL

delete_acl($acl_name)

Disassociates an ACL with this record

list_acls()

Returns a reference to a list of acl names

get_policies_in_acl($acl_name)

Returns a reference to an array of policy types and base patterns

delete_group()

Remove all trace of record

check_acl(command,host)

Checks to see if the command passed is allowed to be executed on a specific host

Return 1 for permitted

Return undef for denied

output_xml()

Output object as XML

debug()

Set the module debug level

AUTHOR

Dennis Opacki, dopacki@adotout.com

SEE ALSO perl(1).