Back to index

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

XACMLTarget class to parse and operate XACML specific <Target> node. More...

#include <XACMLTarget.h>

Collaboration diagram for ArcSec::XACMLTarget:
Collaboration graph

List of all members.

Public Member Functions

 XACMLTarget (Arc::XMLNode &node, EvaluatorContext *ctx)
 Constructor -.
virtual ~XACMLTarget ()
virtual MatchResult match (EvaluationCtx *ctx)

Private Attributes

Arc::XMLNode targetnode
std::list< XACMLTargetSection * > sections

Detailed Description

XACMLTarget class to parse and operate XACML specific <Target> node.

Definition at line 62 of file XACMLTarget.h.

Constructor & Destructor Documentation

Constructor -.

Definition at line 185 of file XACMLTarget.cpp.

                                                                : targetnode(node) {
  XMLNode cnd;
  std::string name;
  for(int i = 0;;i++ ) {
    cnd = node.Child(i);
    if(!cnd) break;
    name = cnd.Name();
    if(name == "Subjects" || name == "Resources" ||
      name == "Actions" || name == "Environments") {
      sections.push_back(new XACMLTargetSection(cnd, ctx));

Here is the call graph for this function:

Definition at line 199 of file XACMLTarget.cpp.

  while(!(sections.empty())) {
    XACMLTargetSection* section = sections.back();
    delete section;

Member Function Documentation

Definition at line 207 of file XACMLTarget.cpp.

  MatchResult res;
  std::list<XACMLTargetSection*>::iterator i;
  for(i = sections.begin(); i!= sections.end(); i++) {
    res = (*i)->match(ctx);
    if(res != MATCH) break;
  return res;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 72 of file XACMLTarget.h.

Definition at line 70 of file XACMLTarget.h.

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