/usr/include/arc/security/ArcPDP/PolicyParser.h is in nordugrid-arc-dev 4.0.0-1.
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 | #ifndef __ARC_SEC_POLICYPARSER_H__
#define __ARC_SEC_POLICYPARSER_H__
#include <list>
#include <arc/security/ArcPDP/alg/CombiningAlg.h>
#include <arc/security/ArcPDP/policy/Policy.h>
#include <arc/security/ArcPDP/Evaluator.h>
namespace ArcSec {
///A interface which will isolate the policy object from actual policy storage (files, urls, database)
/**Parse the policy from policy source (e.g. files, urls, database, etc.). */
class PolicyParser {
public:
PolicyParser();
/**Parse policy
@param source location of the policy
@param policyclassname name of the policy for ClassLoader
@param ctx EvaluatorContext which includes the **Factory
*/
virtual Policy* parsePolicy(const Source& source, std::string policyclassname, EvaluatorContext* ctx);
virtual ~PolicyParser(){};
};
} // namespace ArcSec
#endif /* __ARC_SEC_POLICYPARSER_H__ */
|