Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions
ArcSec::CombiningAlg Class Reference

Interface for combining algrithm. More...

#include <CombiningAlg.h>

Inheritance diagram for ArcSec::CombiningAlg:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CombiningAlg ()
virtual ~CombiningAlg ()
virtual Result combine (EvaluationCtx *ctx, std::list< Policy * > policies)=0
 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.
virtual const std::string & getalgId (void) const =0
 Get the identifier of the combining algorithm class.

Detailed Description

Interface for combining algrithm.

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

Definition at line 14 of file CombiningAlg.h.


Constructor & Destructor Documentation

Definition at line 16 of file CombiningAlg.h.

{};
virtual ArcSec::CombiningAlg::~CombiningAlg ( ) [inline, virtual]

Definition at line 17 of file CombiningAlg.h.

{};

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:
ctxThe information about request is included
policiesThe "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::PermitOverridesCombiningAlg, and ArcSec::DenyOverridesCombiningAlg.

Here is the caller graph for this function:

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::PermitOverridesCombiningAlg, and ArcSec::DenyOverridesCombiningAlg.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: