ArcSec::CombiningAlg Class Reference

Interface for combining algrithm. More...

#include <CombiningAlg.h>

Inheritance diagram for ArcSec::CombiningAlg:
ArcSec::DenyOverridesCombiningAlg ArcSec::OrderedCombiningAlg ArcSec::PermitOverridesCombiningAlg

Public Member Functions

virtual Result combine (EvaluationCtx *ctx, std::list< Policy * > policies)=0
virtual const std::string & getalgId (void) const =0

Detailed Description

Interface for combining algrithm.

This class is used to implement a specific combining algorithm for combining policies.


Member Function Documentation

virtual Result ArcSec::CombiningAlg::combine ( EvaluationCtx ctx,
std::list< Policy * >  policies 
) [pure virtual]

Evaluate request against policy, and if there are more than one policies, combine the evaluation results according to the combing algorithm implemented inside in the method combine(ctx, policies) itself.

Parameters:
ctx The information about request is included
policies The "match" and "eval" method inside each policy will be called, and then those results from each policy will be combined according to the combining algorithm inside CombingAlg class.

Implemented in ArcSec::DenyOverridesCombiningAlg, and ArcSec::PermitOverridesCombiningAlg.

virtual const std::string& ArcSec::CombiningAlg::getalgId ( void   )  const [pure virtual]

Get the identifier of the combining algorithm class

Returns:
The identity of the algorithm

Implemented in ArcSec::DenyOverridesCombiningAlg, and ArcSec::PermitOverridesCombiningAlg.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:32 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3