This file is indexed.

/usr/include/arc/security/ArcPDP/EvaluatorLoader.h is in nordugrid-arc-dev 4.2.0-2.

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
39
40
41
42
43
44
45
46
#ifndef __ARCSEC_EVALUATORLOADER_H__
#define __ARCSEC_EVALUATORLOADER_H__

#include <list>

#include <arc/Logger.h>
#include <arc/security/ClassLoader.h>
#include <arc/XMLNode.h>
#include <arc/ArcConfig.h>
#include <arc/security/ArcPDP/Evaluator.h>
#include <arc/security/ArcPDP/Request.h>
#include <arc/security/ArcPDP/policy/Policy.h>
#include <arc/security/ArcPDP/Source.h>

namespace ArcSec {
///EvaluatorLoader is implemented as a helper class for loading different Evaluator objects, like ArcEvaluator
/**The object loading is based on the configuration information about evaluator, including information for 
factory class, request, policy and evaluator itself */
class EvaluatorLoader {
 public:
  EvaluatorLoader();
  /**Get evaluator object according to the class name*/
  Evaluator* getEvaluator(const std::string& classname);
  /**Get evaluator object suitable for presented policy*/
  Evaluator* getEvaluator(const Policy* policy);
  /**Get evaluator object suitable for presented request*/
  Evaluator* getEvaluator(const Request* request);
  /**Get request object according to the class name, based on the request source*/
  Request* getRequest(const std::string& classname, const Source& requestsource);
  /**Get request object according to the request source*/
  Request* getRequest(const Source& requestsource);
  /**Get policy object according to the class name, based on the policy source*/
  Policy* getPolicy(const std::string& classname, const Source& policysource);
  /**Get proper policy object according to the policy source*/
  Policy* getPolicy(const Source& policysource);
 protected:
  static Arc::Logger logger;
 private:
  /**configuration information for loading objects; there could 
  be more than one suits of configuration*/
  std::list<Arc::XMLNode> class_config_list_;
};

} //namespace ArcSec

#endif /* __ARCSEC_EVALUATORLOADER_H__ */