Back to index

nordugrid-arc-nox  1.1.0~rc6
ArcRequestItem.h
Go to the documentation of this file.
00001 #ifndef __ARC_SEC_ARCREQUESTITEM_H__
00002 #define __ARC_SEC_ARCREQUESTITEM_H__
00003 
00004 #include <arc/XMLNode.h>
00005 #include <arc/security/ArcPDP/RequestItem.h>
00006 
00007 namespace ArcSec {
00008 
00010 
00011 class ArcRequestItem : public RequestItem{
00012 public:
00013   ArcRequestItem(Arc::XMLNode& node, AttributeFactory* attrfactory);
00014   virtual ~ArcRequestItem();
00015 
00016 public:
00017   virtual SubList getSubjects () const;
00018   virtual void setSubjects (const SubList& sl);
00019   virtual ResList getResources () const;
00020   virtual void setResources (const ResList& rl);
00021   virtual ActList getActions () const;
00022   virtual void setActions (const ActList& actions);
00023   virtual CtxList getContexts () const;
00024   virtual void setContexts (const CtxList& ctx);
00025 
00026 private:
00027   void removeSubjects ();
00028   void removeResources ();
00029   void removeActions ();
00030   void removeContexts ();
00031 };
00032 
00033 } // namespace ArcSec
00034 
00035 #endif /* __ARC_SEC_ARCREQUESTITEM_H__ */
00036