Back to index

nordugrid-arc-nox  1.1.0~rc6
GACLRequest.h
Go to the documentation of this file.
00001 #ifndef __ARC_SEC_GACLREQUEST_H__
00002 #define __ARC_SEC_GACLREQUEST_H__
00003 
00004 #include <arc/XMLNode.h>
00005 #include <arc/security/ArcPDP/Request.h>
00006 
00007 
00008 namespace ArcSec {
00009 
00010 class GACLRequest : public Request {
00011 
00012 public:
00013   virtual ReqItemList getRequestItems () const { return rlist; };
00014   
00015   virtual void setRequestItems (ReqItemList sl) { };
00016 
00017   virtual void addRequestItem(Attrs& sub, Attrs& res, Attrs& act, Attrs& ctx) { };
00018 
00019   virtual void setAttributeFactory(AttributeFactory* attributefactory) { };
00020 
00021   virtual void make_request() { };
00022 
00023   GACLRequest ();
00024 
00025   GACLRequest (const Source& source);
00026 
00027   virtual ~GACLRequest();
00028 
00029   Arc::XMLNode getXML(void) { return reqnode; };
00030 
00031   virtual const char* getEvalName() const { return "gacl.evaluator"; };
00032 
00033   virtual const char* getName() const { return "gacl.request"; };
00034 
00035   static Arc::Plugin* get_request(Arc::PluginArgument* arg);
00036 
00037   virtual Arc::XMLNode& getReqNode() { return reqnode; };
00038 
00039 private:
00040   Arc::XMLNode reqnode;
00041 
00042 };
00043 
00044 } // namespace ArcSec
00045 
00046 #endif /* __ARC_SEC_GACLREQUEST_H__ */