Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Attributes
ArcSec::Request Class Reference

Base class/Interface for request, includes a container for RequestItems and some operations. More...

#include <Request.h>

Inheritance diagram for ArcSec::Request:
Inheritance graph
[legend]
Collaboration diagram for ArcSec::Request:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ReqItemList getRequestItems () const
 Get all the RequestItem inside RequestItem container.
virtual void setRequestItems (ReqItemList sl)
 Set the content of the container.
virtual void addRequestItem (Attrs &sub, Attrs &res, Attrs &act, Attrs &ctx)
 Add request tuple from non-XMLNode.
virtual void setAttributeFactory (AttributeFactory *attributefactory)=0
 Set the attribute factory for the usage of Request.
virtual void make_request ()=0
 Create the objects included in Request according to the node attached to the Request object.
virtual const char * getEvalName () const =0
 Get the name of corresponding evaulator.
virtual const char * getName () const =0
 Get the name of this request.
 Request ()
 Default constructor.
 Request (const Source &)
 Constructor: Parse request information from a xml stucture in memory.
virtual Arc::XMLNodegetReqNode ()=0
virtual ~Request ()

Protected Attributes

ReqItemList rlist

Detailed Description

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

Definition at line 55 of file Request.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 81 of file Request.h.

{};
ArcSec::Request::Request ( const Source ) [inline]

Constructor: Parse request information from a xml stucture in memory.

Definition at line 84 of file Request.h.

{};
virtual ArcSec::Request::~Request ( ) [inline, virtual]

Definition at line 88 of file Request.h.

{};

Member Function Documentation

virtual void ArcSec::Request::addRequestItem ( Attrs sub,
Attrs res,
Attrs act,
Attrs ctx 
) [inline, virtual]

Add request tuple from non-XMLNode.

Reimplemented in ArcSec::ArcRequest, and ArcSec::GACLRequest.

Definition at line 66 of file Request.h.

{ };

Here is the caller graph for this function:

virtual const char* ArcSec::Request::getEvalName ( ) const [pure virtual]

Get the name of corresponding evaulator.

Implemented in ArcSec::ArcRequest, ArcSec::GACLRequest, and ArcSec::XACMLRequest.

Here is the caller graph for this function:

virtual const char* ArcSec::Request::getName ( ) const [pure virtual]

Get the name of this request.

Implemented in ArcSec::ArcRequest, ArcSec::GACLRequest, and ArcSec::XACMLRequest.

virtual Arc::XMLNode& ArcSec::Request::getReqNode ( ) [pure virtual]

Implemented in ArcSec::ArcRequest, ArcSec::GACLRequest, and ArcSec::XACMLRequest.

Here is the caller graph for this function:

virtual ReqItemList ArcSec::Request::getRequestItems ( ) const [inline, virtual]

Get all the RequestItem inside RequestItem container.

Reimplemented in ArcSec::ArcRequest, and ArcSec::GACLRequest.

Definition at line 60 of file Request.h.

{ ReqItemList list; return list; };

Here is the caller graph for this function:

virtual void ArcSec::Request::make_request ( ) [pure virtual]

Create the objects included in Request according to the node attached to the Request object.

Implemented in ArcSec::XACMLRequest, ArcSec::ArcRequest, and ArcSec::GACLRequest.

Here is the caller graph for this function:

virtual void ArcSec::Request::setAttributeFactory ( AttributeFactory attributefactory) [pure virtual]

Set the attribute factory for the usage of Request.

Implemented in ArcSec::XACMLRequest, ArcSec::ArcRequest, and ArcSec::GACLRequest.

Here is the caller graph for this function:

virtual void ArcSec::Request::setRequestItems ( ReqItemList  sl) [inline, virtual]

Set the content of the container.

Reimplemented in ArcSec::ArcRequest, and ArcSec::GACLRequest.

Definition at line 63 of file Request.h.

{ };

Member Data Documentation

Definition at line 57 of file Request.h.


The documentation for this class was generated from the following file: