Interface for combining algrithm. More...
#include <CombiningAlg.h>
Public Member Functions | |
virtual Result | combine (EvaluationCtx *ctx, std::list< Policy * > policies)=0 |
virtual const std::string & | getalgId (void) const =0 |
Interface for combining algrithm.
This class is used to implement a specific combining algorithm for combining policies.
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.
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
Implemented in ArcSec::DenyOverridesCombiningAlg, and ArcSec::PermitOverridesCombiningAlg.