James G Smith > Gestinanna-0.02 > Gestinanna::POF::Secure::Gestinanna

Download:
Gestinanna-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

Gestinanna::POF::Secure::Gestinanna - provides security for POF classes in the Gestinanna application framework

SYNOPSIS ^

 package My::DataObject;

 use base qw(Gestinanna::POF::Secure);
 use base qw(Gestinanna::POF::Container);

 __PACKAGE__ -> contained_objects(
 );

DESCRIPTION ^

This module provides basic security using the Gestinanna::Authz module. This may be added to any POF class by adding it as the first member of the @ISA array.

The following parameters are required for the security code.

actor

This is the object acting on this object. Permissions are based on both the actor and the object being acted upon.

cache

This is actually an optional parameter. This is used to cache authorization information. This should be derived from the Cache::Cache module.

schema

This is the Alzabo runtime schema that can be passed to the Gestinanna::Runtime::Authz object.

METHODS ^

ACCESS METHODS

By default, access methods are created as needed for attributes. The following are part of the base POF object class and should not be used for anything else.

actor

TODO ^

Need to be able to query available attributes considering security and not considering security.