Base class/Interface for request, includes a container for RequestItems and some operations. More...
#include <Request.h>
Public Member Functions | |
| virtual ReqItemList | getRequestItems () const |
| virtual void | setRequestItems (ReqItemList) |
| virtual void | addRequestItem (Attrs &, Attrs &, Attrs &, Attrs &) |
| virtual void | setAttributeFactory (AttributeFactory *attributefactory)=0 |
| virtual void | make_request ()=0 |
| virtual const char * | getEvalName () const =0 |
| virtual const char * | getName () const =0 |
| Request (Arc::PluginArgument *parg) | |
| Request (const Source &, Arc::PluginArgument *parg) | |
Base class/Interface for request, includes a container for RequestItems and some operations.
A Request object can has a few <subjects, actions, objects> tuples, i.e. RequestItem The Request class and any customized class which inherit from it, should be loadable, which means these classes can be dynamically loaded according to the configuration informtation, see the example configuration below: <Service name="pdp.service" id="pdp_service"> <pdp:PDPConfig> <......> <pdp:Request name="arc.request" /> <......> </pdp:PDPConfig> </Service>
There can be different types of subclass which inherit Request, such like XACMLRequest, ArcRequest, GACLRequest
| ArcSec::Request::Request | ( | Arc::PluginArgument * | parg | ) | [inline] |
Default constructor
| ArcSec::Request::Request | ( | const Source & | , | |
| Arc::PluginArgument * | parg | |||
| ) | [inline] |
Constructor: Parse request information from a xml stucture in memory
| virtual void ArcSec::Request::addRequestItem | ( | Attrs & | , | |
| Attrs & | , | |||
| Attrs & | , | |||
| Attrs & | ||||
| ) | [inline, virtual] |
Add request tuple from non-XMLNode
| virtual const char* ArcSec::Request::getEvalName | ( | ) | const [pure virtual] |
Get the name of corresponding evaulator
| virtual const char* ArcSec::Request::getName | ( | ) | const [pure virtual] |
Get the name of this request
| virtual ReqItemList ArcSec::Request::getRequestItems | ( | ) | const [inline, virtual] |
Get all the RequestItem inside RequestItem container
| virtual void ArcSec::Request::make_request | ( | ) | [pure virtual] |
| virtual void ArcSec::Request::setAttributeFactory | ( | AttributeFactory * | attributefactory | ) | [pure virtual] |
Set the attribute factory for the usage of Request
| virtual void ArcSec::Request::setRequestItems | ( | ReqItemList | ) | [inline, virtual] |
Set the content of the container
1.6.3