Back to index

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

Base class for Policy Decision Point plugins. More...

#include <PDP.h>

Inheritance diagram for ArcSec::PDP:
Inheritance graph
Collaboration diagram for ArcSec::PDP:
Collaboration graph

List of all members.

Public Member Functions

 PDP (Arc::Config *cfg)
virtual ~PDP ()
virtual bool isPermitted (Arc::Message *msg) const =0
void SetId (std::string &id)
std::string GetId ()

Protected Attributes

std::string id_

Static Protected Attributes

static Arc::Logger logger

Detailed Description

Base class for Policy Decision Point plugins.

This virtual class defines method isPermitted() which processes security related information/attributes in Message and makes security decision - permit (true) or deny (false). Configuration of PDP is consumed during creation of instance through XML subtree fed to constructor.

Definition at line 82 of file PDP.h.

Constructor & Destructor Documentation

ArcSec::PDP::PDP ( Arc::Config cfg) [inline]

Definition at line 84 of file PDP.h.

{ if(cfg) id_=(std::string)(cfg->Attribute("id")); };

Here is the call graph for this function:

virtual ArcSec::PDP::~PDP ( ) [inline, virtual]

Definition at line 85 of file PDP.h.


Member Function Documentation

std::string ArcSec::PDP::GetId ( ) [inline]

Definition at line 88 of file PDP.h.

{ return id_; };
virtual bool ArcSec::PDP::isPermitted ( Arc::Message msg) const [pure virtual]
void ArcSec::PDP::SetId ( std::string &  id) [inline]

Definition at line 87 of file PDP.h.

{ id_ = id; };

Member Data Documentation

std::string ArcSec::PDP::id_ [protected]

Definition at line 88 of file PDP.h.

Arc::Logger ArcSec::PDP::logger [static, protected]

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