This file is indexed.

/usr/include/arc/security/ArcPDP/alg/CombiningAlg.h is in nordugrid-arc-dev 5.0.5-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __ARC_SEC_COMBININGALG_H__
#define __ARC_SEC_COMBININGALG_H__

#include <string>
#include <list>
#include "../EvaluationCtx.h"
#include "../policy/Policy.h"

namespace ArcSec {
///Interface for combining algrithm
/**This class is used to implement a specific combining algorithm for 
 * combining policies.
 */
class CombiningAlg {
public:
  CombiningAlg(){};
  virtual ~CombiningAlg(){};

public:
 /**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.
 *@param ctx  The information about request is included
 *@param 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.
 */
  virtual Result combine(EvaluationCtx* ctx, std::list<Policy*> policies) = 0;

 /**Get the identifier of the combining algorithm class
 *@return The identity of the algorithm
 */
  virtual const std::string& getalgId(void) const = 0;
};

} // namespace ArcSec

#endif /* __ARC_SEC_COMBININGALG_H__ */