Back to index

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