Back to index

nordugrid-arc-nox  1.1.0~rc6
ArcPDP.h
Go to the documentation of this file.
00001 #ifndef __ARC_SEC_ARCPDP_H__
00002 #define __ARC_SEC_ARCPDP_H__
00003 
00004 #include <stdlib.h>
00005 
00006 //#include <arc/loader/ClassLoader.h>
00007 #include <arc/ArcConfig.h>
00008 #include <arc/security/ArcPDP/Evaluator.h>
00009 #include <arc/security/PDP.h>
00010 
00011 namespace ArcSec {
00012 
00014 class ArcPDP : public PDP {
00015  public:
00016   static Arc::Plugin* get_arc_pdp(Arc::PluginArgument* arg);
00017   ArcPDP(Arc::Config* cfg);
00018   virtual ~ArcPDP();
00019 
00020   /***/
00021   virtual bool isPermitted(Arc::Message *msg) const;
00022  private:
00023   // Evaluator *eval;
00024   // Arc::ClassLoader* classloader;
00025   std::list<std::string> select_attrs;
00026   std::list<std::string> reject_attrs;
00027   std::list<std::string> policy_locations;
00028   Arc::XMLNodeContainer policies;
00029   std::string policy_combining_alg;
00030  protected:
00031   static Arc::Logger logger;
00032 };
00033 
00034 } // namespace ArcSec
00035 
00036 #endif /* __ARC_SEC_ARCPDP_H__ */
00037