class PolicyChecker : public LogInterface

A PolicyChecker goes through all the Policy certificates available for the given resource, and all the Use Condition certificates associated with the Policy certificates collected so far

Inheritance:


Public Methods

PolicyChecker ()
Constructs this object
~PolicyChecker ()
Destroys this object
bool checkPolicy (const string& resource, CertInfoCollector &cinfoCol, AkentiMessage& mesg)
Collects Policy certificates associated with a resources; collects AkentiMessages that state if the certificates were verified, or had some error associated with them; Collects Use Condition certificates associated with the above Policy certificates - and error or "OK" messages associated with them

Inherited from LogInterface:

Public Methods

void iLog(int level, const string& key, const string& mesg = "") const
void bLog(int level, const string& key, const string& mesg = "") const
void sLog(int level, const string& key, const string& mesg = "") const
void fLog(int level, const string& key, const string& mesg = "") const

Documentation

A PolicyChecker goes through all the Policy certificates available for the given resource, and all the Use Condition certificates associated with the Policy certificates collected so far. In all cases it collects an error message if the certificate has a problem or an "OK" message if it was fine. It also collects information on whether the certificates were used or not. This file is based on the original PolicyChecker written by Abdelilah Essiari and Srilekha Mudumbai see @AKRuntime see @PolicyContext see CertInfoCollector
PolicyChecker()
Constructs this object

~PolicyChecker()
Destroys this object

bool checkPolicy(const string& resource, CertInfoCollector &cinfoCol, AkentiMessage& mesg)
Collects Policy certificates associated with a resources; collects AkentiMessages that state if the certificates were verified, or had some error associated with them; Collects Use Condition certificates associated with the above Policy certificates - and error or "OK" messages associated with them. It gathers all this information in the CertInfoCollector object.
See Also:
PolicyContext
AkentiMessage


This class has no child classes.
Author:
Sushila R. Subramanian
Version:
1.0 04/05/20

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de